<?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: whether palette dialog can add other item types dynamically? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276544#M3286</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
DG::Button has such a constructor is you do not want to load it from a resource file (see DGButton.hpp):&lt;BR /&gt;
&lt;BR /&gt;
Button (const Panel&amp;amp; panel, const Rect&amp;amp; rect, ButtonType type = Normal, FrameType frameType = Frame);&lt;BR /&gt;
&lt;BR /&gt;
Pass the palette as the first param, and the desired rect in the second.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
    <pubDate>Mon, 02 Dec 2019 11:52:52 GMT</pubDate>
    <dc:creator>Akos Somorjai</dc:creator>
    <dc:date>2019-12-02T11:52:52Z</dc:date>
    <item>
      <title>whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276543#M3285</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi.&lt;BR /&gt;I create a palette dialog class.&lt;BR /&gt;And I want to add some items dynamically. eg. button.&lt;BR /&gt;&lt;BR /&gt;Are there some methods?&lt;BR /&gt;Thanks.&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:54:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276543#M3285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276544#M3286</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
DG::Button has such a constructor is you do not want to load it from a resource file (see DGButton.hpp):&lt;BR /&gt;
&lt;BR /&gt;
Button (const Panel&amp;amp; panel, const Rect&amp;amp; rect, ButtonType type = Normal, FrameType frameType = Frame);&lt;BR /&gt;
&lt;BR /&gt;
Pass the palette as the first param, and the desired rect in the second.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Mon, 02 Dec 2019 11:52:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276544#M3286</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-12-02T11:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276545#M3287</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
DG::Button has such a constructor is you do not want to load it from a resource file (see DGButton.hpp):&lt;BR /&gt;
&lt;BR /&gt;
Button (const Panel&amp;amp; panel, const Rect&amp;amp; rect, ButtonType type = Normal, FrameType frameType = Frame);&lt;BR /&gt;
&lt;BR /&gt;
Pass the palette as the first param, and the desired rect in the second.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos
&lt;/BLOCKQUOTE&gt;

Thanks.&lt;BR /&gt;
Besides, I want to add a tabpage.TabPage constructor need TabControl.


How can add it？ &lt;BR /&gt;
Thanks.</description>
      <pubDate>Tue, 03 Dec 2019 00:55:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276545#M3287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T00:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276546#M3288</link>
      <description>Hi.&lt;BR /&gt;
Besides, I want to add a tabpage in the palette dialog.&lt;BR /&gt;
TabPage constructor need TabControl. &lt;BR /&gt;
&lt;BR /&gt;
 How can add it？&lt;BR /&gt;
Thanks.</description>
      <pubDate>Tue, 03 Dec 2019 09:40:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276546#M3288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T09:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276547#M3289</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Please find below some sample code (it uses a Dialog, not a Palette).&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Tue, 03 Dec 2019 13:31:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276547#M3289</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-12-03T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276548#M3290</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Please find below some sample code (it uses a Dialog, not a Palette).&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos
&lt;/BLOCKQUOTE&gt;

Thanks.&lt;BR /&gt;
I can't find 'GS::Owner' and 'GS::NewOwned' in your code.&lt;BR /&gt;
Whether  I need to import other header files？</description>
      <pubDate>Wed, 04 Dec 2019 01:33:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276548#M3290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-04T01:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276549#M3291</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Please include "Owner.hpp"; it is in the GSRoot module.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Wed, 04 Dec 2019 07:40:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276549#M3291</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-12-04T07:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: whether palette dialog can add other item types dynamically?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276550#M3292</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Please include "Owner.hpp"; it is in the GSRoot module.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos
&lt;/BLOCKQUOTE&gt;

Thank you very much.&lt;BR /&gt;
Now I can add 'TabPage' dynamically.</description>
      <pubDate>Thu, 05 Dec 2019 11:41:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/whether-palette-dialog-can-add-other-item-types-dynamically/m-p/276550#M3292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-05T11:41:20Z</dc:date>
    </item>
  </channel>
</rss>

