SB_GETICON message

Retrieves the icon for a part in a status bar.

Parameters

wParam

Zero-based index of the part that contains the icon to be retrieved. If this parameter is -1, the status bar is assumed to be a Simple Mode status bar.

lParam
Must be zero.

Return value

Returns the handle to the icon if successful, or NULL otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: