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.
WM_SETICON (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
WM_SETICON
hptrIcon = (HPOINTER) LONGFROMMP(mp1);    /* handle to icon */
 
The WM_SETICON message is sent to a frame window to set the icon it uses to
represent itself when minimized.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hptrIcon   Low and high word of mp1. Identifies an icon.
 
Return Value
 
An application should return TRUE if the associated icon is set or FALSE if
it is not.
 
See Also
 
WM_QUERYICON