SOLVED!
Dialog's GSResModule [SOLVED]
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-04
04:51 AM
- last edited on
2023-08-01
02:21 PM
by
Doreena Deng
2014-09-04
04:51 AM
The previous API does not require this value. Example:
Also, the documentation for AC18 API still uses the first one. So, we are not sure where to get it.
Some other DG functions are also not available on AC18 like DGSetDialogIconId(), DGSetItemImageId() and DGListSetTabItemIconId().
void DGGetDialogSize (short dialId, short rectType, short* hSize, short* vSize);now it is:
void DGGetDialogSize (GSResModule dialResModule, short dialId, short rectType, short* hSize, short* vSize);Where do we get the value for this dialResModule.
Also, the documentation for AC18 API still uses the first one. So, we are not sure where to get it.
Some other DG functions are also not available on AC18 like DGSetDialogIconId(), DGSetItemImageId() and DGListSetTabItemIconId().
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Solved! Go to Solution.
Labels:
- Labels:
-
Add-On (C++)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-04 08:52 AM
2014-09-04
08:52 AM
Hi,
the documentation of DG module functions is still not updated, we are working on this.
You can use the DGGetDialogResourceModule (dialID) function to get a dialog's GSResModule.
So you can call the function like this:
Regards,
Tibor
the documentation of DG module functions is still not updated, we are working on this.
You can use the DGGetDialogResourceModule (dialID) function to get a dialog's GSResModule.
So you can call the function like this:
DGGetDialogSize (DGGetDialogResourceModule (dialID), dialID, DG_ORIGCLIENT, &hSize, &vSize);
Regards,
Tibor
2 REPLIES 2
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-04 08:52 AM
2014-09-04
08:52 AM
Hi,
the documentation of DG module functions is still not updated, we are working on this.
You can use the DGGetDialogResourceModule (dialID) function to get a dialog's GSResModule.
So you can call the function like this:
Regards,
Tibor
the documentation of DG module functions is still not updated, we are working on this.
You can use the DGGetDialogResourceModule (dialID) function to get a dialog's GSResModule.
So you can call the function like this:
DGGetDialogSize (DGGetDialogResourceModule (dialID), dialID, DG_ORIGCLIENT, &hSize, &vSize);
Regards,
Tibor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-04 10:30 AM
2014-09-04
10:30 AM
Thanks
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS