Maximize a frameTag(s): WinAPI/Registry


Put the following code into the Open event of the Frame Window.
CONSTANT Integer  WM_SYSCOMMAND = 274
CONSTANT UInt  SC_MAXIMIZE   = 61488
//
Send(Handle(This), WM_SYSCOMMAND, SC_MAXIMIZE, 0)
other useful constants :
CONSTANT UInt       SC_CLOSE      = 61536
CONSTANT UInt       SC_SCREENSAVE = 61760
CONSTANT UInt       SC_RESTORE   =  61728
CONSTANT UInt       SC_MINIMIZE  =  61472
Thanks to C. Dadald.
blog comments powered by Disqus