mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-05-10 08:40:41 +08:00
16 lines
475 B
C
16 lines
475 B
C
/*
|
|
* The handler set the actual size of the window always
|
|
* to be _WIDTH wide and _HEIGHT high.
|
|
*/
|
|
case MSG_SIZECHANGING:
|
|
{
|
|
const RECT* rcExpect = (const RECT*)wParam;
|
|
RECT* rcResult = (RECT*)lParam;
|
|
|
|
rcResult->left = rcExpect->left;
|
|
rcResult->top = rcExpect->top;
|
|
rcResult->right = rcExpect->left + _WIDTH;
|
|
rcResult->bottom = rcExpect->top + _HEIGHT;
|
|
return 0;
|
|
}
|