STM_SETICON message

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
STM_GETICON
Other Resources
LoadIcon

 

 

Community Additions

ADD
Show:
© 2014 Microsoft