FixWindowSizeMaximized()This function works similar to FixWindowSize. It also disables the program window resizing. But it maxes the window maximized before that:
FixWindowSizeMaximized() nWidth = GetWidth() ' it is now the width of maximized window nHeight = GetHeight() ' it is now the height of maximized window
See also: