Can a dialog be created off screen or must it be moved?
This moves to 0,0.
Is this a feature?
I want to control a hidden dialog and wondered if there are any advantages to moving it off-screen rather than hiding it?
This moves to 0,0.
Is this a feature?
I want to control a hidden dialog and wondered if there are any advantages to moving it off-screen rather than hiding it?
Code:
DIALOG NEW hParent, "Dialog1", -100, -100, 200, 200, %WS_POPUP OR _ %WS_BORDER OR %WS_DLGFRAME OR %WS_SYSMENU OR %WS_MINIMIZEBOX OR _ %WS_MAXIMIZEBOX OR %WS_CLIPSIBLINGS OR %WS_VISIBLE OR %DS_MODALFRAME _ OR %DS_3DLOOK OR %DS_NOFAILCREATE OR %DS_SETFONT, _ %WS_EX_CONTROLPARENT OR %WS_EX_LEFT OR %WS_EX_LTRREADING OR _ %WS_EX_RIGHTSCROLLBAR, TO hDlg
Comment