WM_NCCALCSIZEWhat links here?
The WM_NCCALCSIZE message is sent when the size and position of a window's client area must be calculated. By processing this message, an application can control the content of the window's client area when the size or position of the window changes.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_NCCALCSIZE
      WPARAM wParam,   // validation flag (BOOL)
      LPARAM lParam    // data (LPNCCALCSIZE_PARAMS or LPRECT)
    );


Parameters



Return Values

RemarksThe window may be redrawn, depending on whether the CS_HREDRAW or CS_VREDRAW class style is specified. This is the default, backward-compatible processing of this message by the DefWindowProc function (in addition to the usual client rectangle calculation described in the preceding table).

Requirements
programming:windows:WM_NCCALCSIZE
filename:programming:windows:WM_NCCALCSIZE
filename:programming%3Awindows%3AWM_NCCALCSIZE
last edit:March 26 2010 17:22:52 (5153 days ago)
ct = 1714942050.000000 = May 05 2024 16:47:30
ft = 1269638572.000000 = March 26 2010 17:22:52
dt = 445303478.000000