Display malfunction of Graphisoft ID dashboard
Learn more
cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
ReignBough
Enthusiast

Dialog's GSResModule [SOLVED]

The previous API does not require this value. Example:
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
1 Solution

Accepted Solutions
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
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:
DGGetDialogSize (DGGetDialogResourceModule (dialID), dialID, DG_ORIGCLIENT, &hSize, &vSize);


Regards,
Tibor

Go to post

2 Replies 2
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
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:
DGGetDialogSize (DGGetDialogResourceModule (dialID), dialID, DG_ORIGCLIENT, &hSize, &vSize);


Regards,
Tibor
ReignBough
Enthusiast
Thanks
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!