cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
nishida_jp
Booster

How to get Window HWND from dialID

I am making Modal Dialog By Archicad27 API.
Windows 10 and VisualStudio C++2019.
I hope get Window HWND from dialID.
Pilease teach me.

1 Solution

Accepted Solutions
Miklos Vegh
Graphisoft
Graphisoft

You can get the HWND of a dialog by calling the

DG_DLL_EXPORT void* CCALL DGGetDialogWindow (short dialId)

function.

The return value should be casted to HWND. This function returns an NSWindow* on macintosh.

Go to post

1 Reply 1
Miklos Vegh
Graphisoft
Graphisoft

You can get the HWND of a dialog by calling the

DG_DLL_EXPORT void* CCALL DGGetDialogWindow (short dialId)

function.

The return value should be casted to HWND. This function returns an NSWindow* on macintosh.

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!