Code: Select all
@DISPLAY {sizeable=True}
SetEventTimeout(50)
Function p_sizewindow(msg)
NPrint(msg.width," x ",msg.height)
EndFunction
InstallEventHandler({sizewindow=p_sizewindow})
Repeat
WaitEvent
Forever
If the seteventtimeout is increased then the window size is increasing too where still sends SizeWindow events.
If I set SetEventTimeout(50) then the window does not send sizewindow events around and upward 1024x768.
The other thing is that the sizewindow is triggered even when the window size is not changed only the size gadget are clicked.
Solid windows sizing is set in the system.