STM_GETICON message

An application sends the STM_GETICON message to retrieve a handle to the icon associated with a static control that has the SS_ICON style.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is a handle to the icon, or NULL if either the static control has no associated icon or if an error occurred.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

STM_SETICON