<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Checkbox push button icon dissapears on check in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295660#M4121</link>
    <description>Regarding the DGSetItemImage function btw. I am unable to get it to work because after including "DGUtility.hpp", which contains the definition of the Image class, an error pops up indicating that another .hpp is missing "NativeImage.hpp". This .hpp is missing even if I include each and every .lib present in the API DevKit.</description>
    <pubDate>Tue, 19 Jun 2018 08:03:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-19T08:03:14Z</dc:date>
    <item>
      <title>Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295654#M4115</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I am currently encountering an issue where the icon of a checkbox defined via GRC as "IconPushCheck" dissapears when the checkbox is checked via using DGSetItemValLong or DGSetCheckBoxState.&lt;BR /&gt;Is there a way around this?&lt;BR /&gt;&lt;BR /&gt;Also why is the &lt;A href="http://www.Graphisoft.com/ftp/techsupport/documentation/developer_docs/AC_13/APIDevKit/DialogManager/DGHtmlLibrary/DGSetItemImageId.html" target="_blank" rel="noopener"&gt;DGSetItemImageId&lt;/A&gt; function absent from the DG module in the current API? Am I missing something?&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:34:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295654#M4115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T12:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295655#M4116</link>
      <description>Can anyone help me here? Am I missing something, is this the wrong board for issues like these?</description>
      <pubDate>Mon, 18 Jun 2018 12:04:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295655#M4116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-18T12:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295656#M4117</link>
      <description>Not sure why that's happening. We're using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGSetItemValLong&lt;E&gt;&lt;/E&gt; on an &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;IconPushCheck item&lt;E&gt;&lt;/E&gt; without problems. Which version of ARCHICAD are you working with?&lt;BR /&gt;
&lt;BR /&gt;
I think &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGSetItemImageId&lt;E&gt;&lt;/E&gt; disappeared after AC17. Use &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGSetItemImage&lt;E&gt;&lt;/E&gt; instead.</description>
      <pubDate>Mon, 18 Jun 2018 13:20:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295656#M4117</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-06-18T13:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295657#M4118</link>
      <description>Hi, I'm using Archicad 21 (3005 USA FULL). &lt;BR /&gt;
&lt;BR /&gt;
Aside from that there's nothing fancy in the resources at all. Basically just a couple of checkbox push buttons and regular push buttons in a pallete. I took a look at &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGSetItemImage  &lt;E&gt;&lt;/E&gt;but wasn't able to get it to work, &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGSetItemImageId  &lt;E&gt;&lt;/E&gt;would've been perfect for what I am trying to do.</description>
      <pubDate>Mon, 18 Jun 2018 15:15:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295657#M4118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-18T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295658#M4119</link>
      <description>Make sure none of your resources are overlapping – that can sometimes cause disappearances. Otherwise, not sure what to suggest.</description>
      <pubDate>Mon, 18 Jun 2018 15:18:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295658#M4119</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-06-18T15:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295659#M4120</link>
      <description>The elements are not overlapping and even setting the enabled/disabled state on the IconPushCheck buttons causes this behaviour. Oddly the icons also dissappear when the "noFrame" option is set for any IconButton.</description>
      <pubDate>Tue, 19 Jun 2018 07:34:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295659#M4120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T07:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295660#M4121</link>
      <description>Regarding the DGSetItemImage function btw. I am unable to get it to work because after including "DGUtility.hpp", which contains the definition of the Image class, an error pops up indicating that another .hpp is missing "NativeImage.hpp". This .hpp is missing even if I include each and every .lib present in the API DevKit.</description>
      <pubDate>Tue, 19 Jun 2018 08:03:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295660#M4121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T08:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295661#M4122</link>
      <description>Okay, I found what causes the missing/disappearing icons. For anyone else running into this: "Don't use shared image resources for your menus and toolbar." After creating duplicates for the resource entries in the grc it miraculously started to work like a charm.&lt;BR /&gt;
&lt;BR /&gt;
The other issue with the DGSetImage method still stands though but I'll close this thread either way.</description>
      <pubDate>Tue, 19 Jun 2018 09:02:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295661#M4122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T09:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295662#M4123</link>
      <description>&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;NativeImage.hpp&lt;E&gt;&lt;/E&gt; can be found in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Support/Modules/Graphix&lt;E&gt;&lt;/E&gt;. Specify that as a search path in your project and add &lt;PRE&gt;#include "NativeImage.hpp"&lt;/PRE&gt; to your code.</description>
      <pubDate>Tue, 19 Jun 2018 09:23:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295662#M4123</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2018-06-19T09:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox push button icon dissapears on check</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295663#M4124</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;NativeImage.hpp&lt;E&gt;&lt;/E&gt; can be found in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Support/Modules/Graphix&lt;E&gt;&lt;/E&gt;. Specify that as a search path in your project and add &lt;PRE&gt;#include "NativeImage.hpp"&lt;/PRE&gt; to your code.&lt;/BLOCKQUOTE&gt;

Aaaaah, got it, Thanks a lot!</description>
      <pubDate>Tue, 19 Jun 2018 10:35:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Checkbox-push-button-icon-dissapears-on-check/m-p/295663#M4124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T10:35:14Z</dc:date>
    </item>
  </channel>
</rss>

