STM_SETICON message
Applies to: desktop apps only
An application sends the STM_SETICON message to associate an icon with an icon control.
Parameters
- wParam
-
Handle to the icon to associate with the icon control.
- lParam
-
This parameter is not used.
Return value
The return value is a handle to the icon previously associated with the icon control, or zero if an error occurs.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
- Reference
- STM_GETICON
- Other Resources
- LoadIcon
Send comments about this topic to Microsoft
Build date: 3/6/2012