An application sends an STM_GETICON message to retrieve the handle of the icon associated with an icon control.
wParam
This parameter is not used.
lParam
This parameter is not used.
The return value is the icon handle if the operation is successful, or zero if the icon control has no associated icon or an error occurred.
STM_SETICON