programming:windows:WM_SIZEWhat links here?
The WM_SIZE message is sent to a window after its size has changed.

A window receives this message through its WindowProc function.

Syntax
    WM_SIZE
        WPARAM wParam
        LPARAM lParam


Parameters

Return Value
If an application processes this message, it should return zero.

RemarksIf the programming:windows:SetScrollPos or programming:windows:MoveWindow function is called for a child window as a result of the WM_SIZE message, the bRedraw or bRepaint parameter should be nonzero to cause the window to be repainted.

Although the width and height of a window are 32-bit values, the lParam parameter contains only the low-order 16 bits of each.

Notification Requirements


Prototype for Message Handler

void on_size(HWND hwnd, UINT state, int cx, int cy)
{
}

From: MSDN
programming:windows:WM_SIZE
Topical Bible - Jacob
Topical Bible - Magic and Magicians
filename:programming:windows:WM_SIZE
filename:programming%3Awindows%3AWM_SIZE
last edit:April 10 2010 15:37:16 (5430 days ago)
ct = 1740080535.000000 = February 20 2025 14:42:15
ft = 1270928236.000000 = April 10 2010 15:37:16
dt = 469152299.000000