Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Create maximized modal window

Martin Walter
Enthusiast
I'm creating an instance of DG::ModalDialog this way:

DialogBrowser::DialogBrowser() :
	DG::ModalDialog(ACAPI_GetOwnResModule(), ID_DIALOG_BROWSER, ACAPI_GetOwnResModule())
{

}
How can I maximize it or create it maximized from the start?
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Mihaly Palenik
Graphisoft
Graphisoft
Hello!

Unfortunately you can't maximize ModalDialog from code either from UI.

Best regards,
Mihály

View solution in original post

2 REPLIES 2
Solution
Mihaly Palenik
Graphisoft
Graphisoft
Hello!

Unfortunately you can't maximize ModalDialog from code either from UI.

Best regards,
Mihály
Martin Walter
Enthusiast
Thanks!
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD