retrieve the dimensions of a dialog
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2012-10-15
11:09 AM
- last edited on
‎2023-08-02
04:58 PM
by
Doreena Deng
‎2012-10-15
11:09 AM
Hello,
I use the function DGGetDialogSize() for retrieve the size of a dialog palette, but the function doesn't work
This is the syntax -> "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"
The function appear when I initialize the palette
Can anybody help me ?
Thanks
I use the function DGGetDialogSize() for retrieve the size of a dialog palette, but the function doesn't work

This is the syntax -> "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"
The function appear when I initialize the palette

Can anybody help me ?
Thanks

Labels:
- Labels:
-
Library (GDL)
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2012-10-15 01:07 PM
‎2012-10-15
01:07 PM
Hi,
You should use the function like this:
Tibi
atila-diffusion wrote: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.
This is the syntax -> "DGGetDialogSize(cntlDlgData.dialID, DG_ORIGFRAME, NULL, NULL);"
You should use the function like this:
short width; short height; DGGetDialogSize (cntlDlgData.dialID, DG_ORIGFRAME, &width, &height);Regards,
Tibi
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2012-10-15 01:44 PM
‎2012-10-15
01:44 PM
Thanks for your response.
But I have already try this method and no success
I don't understand why...
But I have already try this method and no success

I don't understand why...
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2012-10-15 02:12 PM
‎2012-10-15
02:12 PM
Ok I found a solution.
I have export my preference and the palette have the good size.
Thanks
I have export my preference and the palette have the good size.
Thanks
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2012-12-12 09:18 AM
‎2012-12-12
09:18 AM
Hi guys,
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...
Any idea ?
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...
Any idea ?