WindowMaximized always returns 0 (Linux)

Archives Forums/MaxGUI Bug Reports/WindowMaximized always returns 0 (Linux)

blackgecko(Posted 2010) [#1]
Hi!

My problem: WindowMaximized always returns 0, even when the window is maximized. I've only tested this on Linux, so I don't know if Win-Users have this problem too.
Something to try it:
Import MaxGUI.Drivers

Local win1:TGadget = createwindow("Hello World",200,200,200,200)
Repeat
	WaitEvent
Until CurrentEvent.id = EVENT_WINDOWCLOSE

Notify WindowMaximized(win1) '<== 0



markcw(Posted 2010) [#2]
Your Notify line always returns 0 in Windows too, but with a 'Print WindowMaximized(win1)' after 'WaitEvent' I do see only 0's in Linux.