PB5.30; Win7; 32bit; event handling on sizing window;
Posted: Thu May 21, 2015 1:31 pm
Hello!
I did put a BindEvent for the resizing of an app window like this
What seems not to be handled in Windows 7 is an event for double-clicking on top or bottom border of the window.
Those double clicks upsize the window height to screen height.
How can this event be recognized?
Possible without windows subclassing?
Can this double click be prevented for the user?
Thanks a lot in advance!
I did put a BindEvent for the resizing of an app window like this
Code: Select all
BindEvent(#PB_Event_SizeWindow, @onSizeMainWindow(), *W\PB)
BindEvent(#PB_Event_MaximizeWindow, @onSizeMainWindow(), *W\PB)
BindEvent(#PB_Event_MoveWindow, @onSizeMainWindow(), *W\PB)
BindEvent(#PB_Event_RestoreWindow, @onSizeMainWindow(), *W\PB)
Those double clicks upsize the window height to screen height.
How can this event be recognized?
Possible without windows subclassing?
Can this double click be prevented for the user?
Thanks a lot in advance!