Code: Select all
OpenWindow(0, 0, 0, 640, 100, "", #PB_Window_SystemMenu | #PB_Window_Maximize | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)
Debug WindowHeight(0)There is another problem: A sizewindow event is sent when the window is created with the #PB_Window_Maximize flag.

