<?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: Custom panels in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66195#M8054</link>
    <description>Thanks Akos, that seems to have fixed it.&lt;BR /&gt;
&lt;BR /&gt;
I do have AC9. When I first loaded the add-on the panel showed up correctly,  but in the work environment it had the 'hidden' icon by my panel. So I guess it showed then because I'd just loaded it, but by default was hidden for future sessions?&lt;BR /&gt;
&lt;BR /&gt;
At any rate, thank you for your insight. Glad to have that nagging little issue taken care of.</description>
    <pubDate>Tue, 03 May 2005 12:39:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-05-03T12:39:54Z</dc:date>
    <item>
      <title>Custom panels</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66192#M8051</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I've been poring over the panel_test example, and looking over some previous posts on adding custom panels.&lt;BR /&gt;&lt;BR /&gt;&lt;S&gt;&lt;/S&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=14581" target="_blank"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=14581&lt;/A&gt;&lt;BR /&gt;&lt;S&gt;&lt;/S&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=17180" target="_blank"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=17180&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I understand the panel_text example well enough to have added a panel for the type of element I'm interested in. I'm having two problems:&lt;BR /&gt;&lt;BR /&gt;1- The width is...very wide. Several screens wide at 1280x1024. Even after unloading the add-on. The only way to reset the panel's width is to start a new project with default settings. I used the same dimensions in my resource file that the panel_test example uses(in fact, it's still the same dialog resource spec entirely):&lt;BR /&gt;0 0 444 50&lt;BR /&gt;x y dx dy&lt;BR /&gt;&lt;BR /&gt;2-I think I've run into a variation of the bug spoken of in the first thread above. If I load an Add-On with a custom settings panel, it shows. If I exit AC and come back, it will not be visible for the elements until I unload and then reload the Add-On. I know it was initialized, though, because of my breakpoints and the fact that the Add-On's menu shows up. Obviously, I can't require users to unload and reload the Add-On each time they start AC.&lt;BR /&gt;&lt;BR /&gt;Can anyone comment on using DGCreateBlankTabPage to create non-resource based panels? There are no examples of this much more flexible method of doing panels.&lt;BR /&gt;&lt;BR /&gt;Given the difficulty of working with dialogs in the SDK, is it perhaps better to sacrifice cross-platform compatibility and use the dialog designer in Visual Studio? As much as I like the idea of the add-on working on both, the reality is that it will only be used on Windows at present. The downside would be that it doesn't look like part of AC...&lt;BR /&gt;&lt;BR /&gt;One last thing to dev support subscribers: is the paid support from GS able to really help with issues like this, or are they just limitations of the SDK whether you have support or not? The users here seem very knowledgeable, so I'm wondering if there are extra examples or documentation to be had by subscribing.&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:05:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66192#M8051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T10:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom panels</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66193#M8052</link>
      <description>Well, just to update in case anyone else runs into any of this....&lt;BR /&gt;
&lt;BR /&gt;
I figured out problem #1. I missed an include in my resource def file that had all my resource IDs defined. Oddly, when the panel class was instantiated it said something like DG::TabPage (tabControl, 1, MyPanelId). Starting a tabPage can use 3 or 4 params. If 3 the last is supposed to be the resource ID; if 4, then the width and height. I only passed 3 but because my resources weren't defined quite right in the GRC it still used 37520 as the width! A little too large. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Starting to appreciate the DG manager, just takes some getting used to for someone with a C#/VB/Java background. Not exactly 'Visual'. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Still can't get add-ons to load custom panels without unloading and reloading using the add-on manager...</description>
      <pubDate>Thu, 21 Apr 2005 15:28:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66193#M8052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-21T15:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom panels</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66194#M8053</link>
      <description>&lt;BLOCKQUOTE&gt;Ramblin wrote:&lt;BR /&gt;Starting to appreciate the DG manager, just takes some getting used to for someone with a C#/VB/Java background. Not exactly 'Visual'. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;/BLOCKQUOTE&gt;

I'm glad to hear that &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Ramblin wrote:&lt;BR /&gt;Still can't get add-ons to load custom panels without unloading and reloading using the add-on manager...&lt;/BLOCKQUOTE&gt;

Are you in AC 9? Then try to add the add-on's panel to the element settings dialog through the Work Environment dialog.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Tue, 03 May 2005 12:17:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66194#M8053</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2005-05-03T12:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom panels</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66195#M8054</link>
      <description>Thanks Akos, that seems to have fixed it.&lt;BR /&gt;
&lt;BR /&gt;
I do have AC9. When I first loaded the add-on the panel showed up correctly,  but in the work environment it had the 'hidden' icon by my panel. So I guess it showed then because I'd just loaded it, but by default was hidden for future sessions?&lt;BR /&gt;
&lt;BR /&gt;
At any rate, thank you for your insight. Glad to have that nagging little issue taken care of.</description>
      <pubDate>Tue, 03 May 2005 12:39:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-panels/m-p/66195#M8054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-03T12:39:54Z</dc:date>
    </item>
  </channel>
</rss>

