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
filename:programming:windows:WM_SIZE
filename:programming%3Awindows%3AWM_SIZE
last edit:April 10 2010 15:37:16 (5139 days ago)
ct = 1714974755.000000 = May 06 2024 01:52:35
ft = 1270928236.000000 = April 10 2010 15:37:16
dt = 444046519.000000