windows_programming_notes.nbk: Home | Index | Next Page: WM_PALETTECHANGED | Previous Page: WM_PAINTCLIPBOARD


 WM_PAINTICON

Windows NT 3.51 and earlier: The WM_PAINTICON message is sent to a minimized window when the icon is to be painted. This message is not sent by newer versions of Microsoft Windows, except in unusual circumstances explained in the Remarks.

Parameters

Return Value

An application should return zero if it processes this message.

Remarks

Windows 95/98/Me, Windows NT 4.0 and later: This message is sent only to 16-bit windows (note that this is with a lowercase "W"), and only for compatibility reasons. Under such conditions, the value of wParam is TRUE (the value carries no significance).

On Microsoft Windows NT 3.51 and earlier, or on newer versions of Windows when the unusual circumstances above are met, the window receives this message only if a class icon is defined for the window; otherwise, WM_PAINT is sent instead.

Windows NT 3.51 and earlier: The DefWindowProc function draws the class icon. On newer versions of Windows, the DefWindowProc function ignores the message.

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: WM_PALETTECHANGED | Previous Page: WM_PAINTCLIPBOARD


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time