jpm Posted April 26, 2006 Posted April 26, 2006 IMO, this behavior is completely screwed up. When I have a window maximized and I double-click the titlebar, I expect to get $GUI_EVENT_RESTORE, not $GUI_EVENT_RESIZED. Also, when I double-click the titlebar of a non-maximized window, the window is maximized but I don't get an event at all.The current behavior is:Double click non-maximized window titlebar: The window is maximized and the event $GUI_EVENT_RESIZE is sent.Double click maximized window titlebar: The window is restored and no event is sent.This is the behavior I expect:Double click non-maximized window titlebar: The window is maximized and the event $GUI_EVENT_MAXIMIZE is sent.Double click maximized window titlebar: The window is restored and the event $GUI_EVENT_RESTORE is sent.I can agree it can be a good behavior but if I remember well when we designed it we converge to the current behavior where the MAXIMIZE, MINIMIZE and RESTORED are fired with the clicking on the button NOT on the doublecking on the titlebar
Valik Posted April 26, 2006 Posted April 26, 2006 I think what livewire is saying makes the most sense. Any event that causes the window to be maximized should cause the maximize event to fire. The same goes for minimize and restore. All other resizing events should be sent as $GUI_EVENT_RESIZED.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now