PDA

View Full Version : How to detect if dialog is maximized and set maximized at runtime?



Michael Hartlef
03-10-2008, 17:00
Hi folks,

I would like to check if a dialog is maximized and set the maximized of minimized state at runtime.

But how?

Michael

ErosOlmi
03-10-2008, 17:17
Use the following:

win_IsZoomed(hwnd) (http://www.thinbasic.com/public/products/thinBasic/help/html/win_iszoomed.htm)

and

Win_Show(hWnd, ShowState) (http://www.thinbasic.com/public/products/thinBasic/help/html/win_show.htm)

Michael Hartlef
03-10-2008, 17:25
Thanks Eros.