|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
WM_GETICON
The WM_GETICON message is sent to a window to retrieve the handle of the large
or small icon associated with a window. Windows retrieves the large icon when
drawing a minimized window, and the small icon when drawing a title bar.
WM_GETICON
fType = wParam; // icon type
Parameters
fType
Value of wParam. Specifies the type of icon being retrieved. This parameter can be one of the
following values:
Value
| Meaning
| ICON_BIG
| Retrieve the large icon for the window.
| ICON_SMALL
| Retrieve the small icon for the window.
|
Return Values
The return value is the handle of the large or small icon, depending on the
value of fType. When an application receives this message, it can return the handle of a
large or small icon, or pass the message to DefWindowProc.
Default Action
DefWindowProc returns the handle of the large or small icon associated with the window,
depending on the value of fType.
Remarks
When an application receives this message, it can return the handle of a large
or small icon, or pass the message to DefWindowProc.
See Also
DefWindowProc, WM_SETICON
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|