mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-05-10 08:40:41 +08:00
12 lines
325 B
C
12 lines
325 B
C
/**
|
|
* The handler makes sure that the client area always
|
|
* is _WIDTH wide and _HEIGHT high.
|
|
*/
|
|
case MSG_SIZECHANGED:
|
|
{
|
|
RECT* rcClient = (RECT*)lParam;
|
|
rcClient->right = rcClient->left + _WIDTH;
|
|
rcClient->bottom = rcClient->top + _HEIGHT;
|
|
return 1;
|
|
}
|