WM_GETICON
This message is sent to a window to retrieve the handle of the big or small icon associated with a window.
WM_GETICON fType = (BOOL) wParam;
Parameters
- fType
Specifies the type of icon being retrieved. It is one of the following values:Value Description ICON_BIG Retrieves the large icon for the window. ICON_SMALL Retrieves the small icon for the window.
Return Values
The return value is a handle to the large or small icon, depending on the value of fType. When an application receives this message, it can return a handle to a large or small icon, or pass the message to DefWindowProc.
- Default Action
DefWindowProc returns a handle to the large or small icon associated with the window, depending on the value of fType.
Remarks
Icons are stored per window class, not per window.
When an application receives this message, it can return a handle to a large or small icon, or pass the message to DefWindowProc.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Winuser.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.