Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.53 KB

stm-seticon.md

File metadata and controls

74 lines (47 loc) · 1.53 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
STM_SETICON message (Winuser.h)
An application sends the STM\_SETICON message to associate an icon with an icon control.
105b0667-8e23-47ed-9fb1-0792a22d7100
STM_SETICON message Windows Controls
apiref
STM_SETICON
Winuser.h
HeaderDef
reference
05/31/2018

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

Requirement Value
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

Reference

STM_GETICON

Other Resources

LoadIcon