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_QUERYHANDLE (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSTATICS
 
SM_QUERYHANDLE
mp1 = 0L;   /* not used, must be zero */
mp2 = 0L;   /* not used, must be zero */
 
An application sends an SM_QUERYHANDLE message to get the handle to the icon
or the bitmap handle of a static control.
 
This message does not use any parameters.
 
Return Value
 
The return value is the handle to the display object of the static control.
 
See Also
 
SM_SETHANDLE