WM_PAINTICON

The WM_PAINTICON message is sent to a minimized window when the icon is to be painted but only if the application is written for 16-bit Windows. A window receives this message only if a class icon is defined for the window; otherwise, WM_PAINT is sent instead.

WM_PAINTICON 
 

Parameters

This message has no parameters.

Return Values

An application should return zero if it processes this message.

Remarks

The DefWindowProc function draws the class icon. For compatibility with 16-bit Windows, wParam is TRUE. However, this value has no significance.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.

See Also

Icons Overview, Icon Messages, DefWindowProc, WM_ICONERASEBKGND, WM_PAINT