WM_ICONERASEBKGND

3.0

WM_ICONERASEBKGND
hdc = (HDC) wParam;     /* device-context handle */

The WM_ICONERASEBKGND message is sent to a minimized (iconic) window when the background of the icon must be filled before painting the icon. A window receives this message only if a class icon is defined for the window; otherwise, WM_ERASEBKGND is sent.

Parameters

hdc

Value of wParam. Identifies the device context of the icon.

Return Value

An application should return zero if it processes this message.

Comments

The DefWindowProc function fills the icon background with the background brush of the parent window.

See Also

DefWindowProc, WM_ERASEBKGND