'' Constants required for working CONST WM_SYSCOMMAND = &H112 CONST SC_MAXIMIZE = &HF030 '' Example form DIM form AS QFORM '' Maximize the example form postmessage form.handle,WM_SYSCOMMAND,SC_MAXIMIZE,0 '' Show the example form form.SHOWMODAL