<?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: Where is DG::Image defined? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273100#M5574</link>
    <description>&lt;BLOCKQUOTE&gt;MarkHenryC wrote:&lt;BR /&gt;In the docs, the image parameter for DGSetItemImage is a void * which resolves to a platform-dependent bitmap handle (HBITMAP on Win). But the actual header defines this as a DG::Image class (namespace DG). It's forward-declared for the parameter reference but there is no actual definition for the class in the API Dev Kit (using 18.3006).&lt;BR /&gt;
Basically, I just want to draw a custom image in an area of a modeless dialog.&lt;BR /&gt;
Can anyone point me in the right direction?&lt;/BLOCKQUOTE&gt;
The DG::Image class is defined in DGUtility.hpp&lt;BR /&gt;
You would normally construct one by passing the resource module and image resource ID</description>
    <pubDate>Fri, 29 May 2015 12:27:35 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2015-05-29T12:27:35Z</dc:date>
    <item>
      <title>[SOLVED] Where is DG::Image defined?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273099#M5573</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;In the docs, the image parameter for DGSetItemImage is a void * which resolves to a platform-dependent bitmap handle (HBITMAP on Win). But the actual header defines this as a DG::Image class (namespace DG). It's forward-declared for the parameter reference but there is no actual definition for the class in the API Dev Kit (using 18.3006).&lt;BR /&gt;&lt;BR /&gt;Basically, I just want to draw a custom image in an area of a modeless dialog.&lt;BR /&gt;&lt;BR /&gt;Can anyone point me in the right direction?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;UPDATE: I'm now trying DG::ModelessDialog. Perhaps this is a later API as all required defs are there&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:49:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273099#M5573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-13T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where is DG::Image defined?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273100#M5574</link>
      <description>&lt;BLOCKQUOTE&gt;MarkHenryC wrote:&lt;BR /&gt;In the docs, the image parameter for DGSetItemImage is a void * which resolves to a platform-dependent bitmap handle (HBITMAP on Win). But the actual header defines this as a DG::Image class (namespace DG). It's forward-declared for the parameter reference but there is no actual definition for the class in the API Dev Kit (using 18.3006).&lt;BR /&gt;
Basically, I just want to draw a custom image in an area of a modeless dialog.&lt;BR /&gt;
Can anyone point me in the right direction?&lt;/BLOCKQUOTE&gt;
The DG::Image class is defined in DGUtility.hpp&lt;BR /&gt;
You would normally construct one by passing the resource module and image resource ID</description>
      <pubDate>Fri, 29 May 2015 12:27:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273100#M5574</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2015-05-29T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where is DG::Image defined?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273101#M5575</link>
      <description>Thanks Ralph. Got it.</description>
      <pubDate>Fri, 29 May 2015 20:26:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-Where-is-DG-Image-defined/m-p/273101#M5575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-29T20:26:00Z</dc:date>
    </item>
  </channel>
</rss>

