windows_programming_notes.nbk: Home | Index | Next Page: WM_GETMINMAXINFO | Previous Page: WM_GETHOTKEY


 WM_GETICON

The WM_GETICON message is sent to a window to retrieve a handle to the large or small icon associated with a window. The system displays the large icon in the ALT+TAB dialog, and the small icon in the window caption.

A window receives this message through its WindowProc function.

Parameters

Return Value

The return value is a handle to the large or small icon, depending on the value of wParam. When an application receives this message, it can return a handle to a large or small icon, or pass the message to the DefWindowProc function.

Remarks

When an application receives this message, it can return a handle to a large or small icon, or pass the message to DefWindowProc.

DefWindowProc returns a handle to the large or small icon associated with the window, depending on the value of wParam.

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: WM_GETMINMAXINFO | Previous Page: WM_GETHOTKEY


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