保存窗口位置的合适时机
The WM_EXITSIZEMOVE message is sent one time to a window, after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
A window receives this message through its WindowProc function.
本文介绍了Windows系统中窗口移动或尺寸更改时触发的消息机制。当用户点击窗口标题栏或边界进行拖动调整时,系统会发送WM_EXITSIZEMOVE消息到窗口,此消息在移动或调整尺寸操作完成后发送,可用于保存窗口的位置和大小。
704

被折叠的 条评论
为什么被折叠?



