<?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 retrieve the dimensions of a dialog in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204061#M5237</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I use the function DGGetDialogSize() for retrieve the size of a dialog palette, but the function doesn't work &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;This is the syntax -&amp;gt; "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"&lt;BR /&gt;&lt;BR /&gt;The function appear when I initialize the palette &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me ?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Aug 2023 14:58:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-02T14:58:54Z</dc:date>
    <item>
      <title>retrieve the dimensions of a dialog</title>
      <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204061#M5237</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I use the function DGGetDialogSize() for retrieve the size of a dialog palette, but the function doesn't work &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;This is the syntax -&amp;gt; "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"&lt;BR /&gt;&lt;BR /&gt;The function appear when I initialize the palette &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me ?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2023 14:58:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204061#M5237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-02T14:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve the dimensions of a dialog</title>
      <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204062#M5238</link>
      <description>Hi,&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;atila-diffusion wrote:&lt;BR /&gt;This is the syntax -&amp;gt; "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"&lt;/BLOCKQUOTE&gt;

The third and fourth parameters are pointers to the width and height of the given dialog. If either of these pointers are NULL, that value is not returned.&lt;BR /&gt;
&lt;BR /&gt;
You should use the function like this:
&lt;PRE&gt;short width;
short height;
DGGetDialogSize (cntlDlgData.dialID, DG_ORIGFRAME, &amp;amp;width, &amp;amp;height);&lt;/PRE&gt;

Regards,&lt;BR /&gt;
Tibi</description>
      <pubDate>Mon, 15 Oct 2012 11:07:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204062#M5238</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2012-10-15T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve the dimensions of a dialog</title>
      <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204063#M5239</link>
      <description>Thanks for your response.&lt;BR /&gt;
&lt;BR /&gt;
But I have already try this method and no success &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;BR /&gt;
I don't understand why...</description>
      <pubDate>Mon, 15 Oct 2012 11:44:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204063#M5239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-15T11:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve the dimensions of a dialog</title>
      <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204064#M5240</link>
      <description>Ok I found a solution.&lt;BR /&gt;
&lt;BR /&gt;
I have export my preference and the palette have the good size.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 15 Oct 2012 12:12:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204064#M5240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-15T12:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve the dimensions of a dialog</title>
      <link>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204065#M5241</link>
      <description>Hi guys,&lt;BR /&gt;
&lt;BR /&gt;
So I have the same problem, I use the function DGGetDialogSize() and I have delete "preferences" folder (x86). But this time the modal dialog don't change her size...&lt;BR /&gt;
&lt;BR /&gt;
Any idea ?</description>
      <pubDate>Wed, 12 Dec 2012 08:18:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/retrieve-the-dimensions-of-a-dialog/m-p/204065#M5241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T08:18:38Z</dc:date>
    </item>
  </channel>
</rss>

