Descriptive Problem Summary:
on-resize events do not get called when a maximized window is torn off by clicking on the titlebar and dragging it elsewhere.
ID:2083756
May 13 2016, 7:33 pm
|
|||||||||||||
| |||||||||||||
May 13 2016, 8:06 pm
|
|
I think there might be a report for this already. The problem is I don't have info on what messages Windows sends in this case.
|
WM_MOVING would be my guess. Maximized windows don't move. So if a window is maximized and it starts moving, it's no longer maximized.
It's possible that WM_MOVING or WM_SIZE are being suppressed though if you are handling WM_WINDOWPOSCHANGED in your code. If you don't call DefWindowProc, WM_MOVING and WM_SIZE won't be called. This one's not priority for me. I'm going to be disabling resizing the window dynamically during runtime soon enough. It's more trouble than it's worth. I'd rather write a menu to handle it for me. WM_ENTERSIZEMOVE is a second candidate. |