msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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