<?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: Modeless dialogs in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26322#M7860</link>
    <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;The API doc states:&lt;BR /&gt;
"API-based Add-Ons CANNOT handle modeless  dialog boxes. Use Palettes&lt;BR /&gt;
instead."&lt;/BLOCKQUOTE&gt;

I use modeless dialogs for 'About' windows. It works well, but they don't do much either. It can be a bit confusing from a user's point of view because window commands like 'Close' don't apply to it, and close the window behind instead.&lt;BR /&gt;
&lt;BR /&gt;
What kind of effect are you trying to achieve?</description>
    <pubDate>Mon, 27 Sep 2004 22:51:32 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2004-09-27T22:51:32Z</dc:date>
    <item>
      <title>Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26321#M7859</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;The API doc states:&lt;BR /&gt;"API-based Add-Ons CANNOT handle modeless dialog boxes. Use Palettes&lt;BR /&gt;instead."&lt;BR /&gt;&lt;BR /&gt;It is a pity, I need a modeless dialog, not a palette. Though I tried to&lt;BR /&gt;open modeless dialog box, as far as I remember, I had problems and it&lt;BR /&gt;seems this dialogs really impossible to use.&lt;BR /&gt;May be anybody knows any safe workaround to use it ?&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:15:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26321#M7859</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2023-08-07T10:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26322#M7860</link>
      <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;The API doc states:&lt;BR /&gt;
"API-based Add-Ons CANNOT handle modeless  dialog boxes. Use Palettes&lt;BR /&gt;
instead."&lt;/BLOCKQUOTE&gt;

I use modeless dialogs for 'About' windows. It works well, but they don't do much either. It can be a bit confusing from a user's point of view because window commands like 'Close' don't apply to it, and close the window behind instead.&lt;BR /&gt;
&lt;BR /&gt;
What kind of effect are you trying to achieve?</description>
      <pubDate>Mon, 27 Sep 2004 22:51:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26322#M7860</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2004-09-27T22:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26323#M7861</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
I use modeless dialogs for 'About' windows. It works well, but they don't do much either. It can be a bit confusing from a user's point of view because window commands like 'Close' don't apply to it, and close the window behind instead.&lt;BR /&gt;
&lt;BR /&gt;
What kind of effect are you trying to achieve?&lt;/BLOCKQUOTE&gt;

I want complex (multiwindow) modeless dialogs, like the GDL object editor.&lt;BR /&gt;
Palettes differ at event messages and behaviour.&lt;BR /&gt;
I opened modeless dialog (class derived from ModelessDialog)&lt;BR /&gt;
using palette's APIPaletteControlCallBackProc callback.&lt;BR /&gt;
It worked basically, but I had problems ( unhandled exception )&lt;BR /&gt;
at its closing.&lt;BR /&gt;
Though I could make something wrong, I assume, that this way is not&lt;BR /&gt;
quite correct.</description>
      <pubDate>Tue, 28 Sep 2004 06:48:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26323#M7861</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2004-09-28T06:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26324#M7862</link>
      <description>ArchiCAD keeps track of the window order internally. In that order, modeless dialogs (e.g. the floor plan window) have a special place, and they also have a quite complex internal registration mechanism, which is not available through the API.&lt;BR /&gt;
&lt;BR /&gt;
You can do most of the things you need modeless dialogs for from a modal dialog. For example, you can switch between databases. Or maybe you can split the interface interface between modal dialogs and palettes.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Tue, 28 Sep 2004 15:33:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26324#M7862</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2004-09-28T15:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26325#M7863</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;ArchiCAD keeps track of the window order internally. In that order, modeless dialogs (e.g. the floor plan window) have a special place, and they also have a quite complex internal registration mechanism, which is not available through the API.
&lt;/BLOCKQUOTE&gt;

Akos, thank you for the information.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;You can do most of the things you need modeless dialogs for from a modal dialog. For example, you can switch between databases. Or maybe you can split the interface interface between modal dialogs and palettes.&lt;BR /&gt;
Akos&lt;/BLOCKQUOTE&gt;

When modal dialog is open it is impossible to use a palette or the menu.&lt;BR /&gt;
The palette almost suitable, however it does not receive DG_MSG_TOPSTATUSCHANGE messages same way as modeless dialog.&lt;BR /&gt;
Anyway thanks, I shall think more.&lt;BR /&gt;
 &lt;BR /&gt;
PS:&lt;BR /&gt;
I only reflect on a possible experimental project.&lt;BR /&gt;
It is like a visual resource editor, it would looks like the VC2003&lt;BR /&gt;
form editor, but using only GS API for DG Controls and almost platform independent.&lt;BR /&gt;
For example for GDL UI Script editor or grc dialog editor.&lt;BR /&gt;
I have made the small prototype of the main design panel with the&lt;BR /&gt;
purpose of check of technical feasibility.</description>
      <pubDate>Tue, 28 Sep 2004 16:55:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26325#M7863</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2004-09-28T16:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modeless dialogs</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26326#M7864</link>
      <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;I only reflect on a possible experimental project.&lt;BR /&gt;
It is like a visual resource editor, it would looks like the VC2003&lt;BR /&gt;
form editor, but using only GS API for DG Controls and almost platform independent.&lt;BR /&gt;
For example for GDL UI Script editor or grc dialog editor.&lt;/BLOCKQUOTE&gt;

I hope GS will do what they can in the SDK to support your efforts, Oleg, as this would be a huge benefit to GDL and API coders!  &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;
The modal part of it would make the interface a bit non-standard, since any menus/commands would have to be part of the dialog or other palette.  But, better strange than not at all! &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;  Good luck and keep us posted.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 28 Sep 2004 17:10:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Modeless-dialogs/m-p/26326#M7864</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-09-28T17:10:03Z</dc:date>
    </item>
  </channel>
</rss>

