msgs12.hlp (Topic list)
SM_SETHANDLE (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSTATICS
 
SM_SETHANDLE
mp1 = MPFROMLONG((ULONG) hObj);    /* handle of object       */
mp2 = 0L;                          /* not used, must be zero */
 
An application sends an SM_SETHANDLE message to set the icon or the bitmap
handle for a static control.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hObj       Low and high word of mp1. Identifies the object handle.
 
Return Value
 
The return value is the handle passed in the hObj parameter.
 
See Also
 
SM_QUERYHANDLE