0 out of 2 rated this helpful - Rate this topic

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

Winuser.h (include Windows.h)

See also

Reference
STM_GETICON
Other Resources
LoadIcon

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ