Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Messages of static control
[Static control]

Defines


Define Documentation

#define STM_GETIMAGE   0xF173
 

Retrieves a handle to the image.

An application sends an STM_GETIMAGE message to retrieve a handle to the image associated with a static control.

 STM_GETIMAGE
 wParam = 0;
 lParam = 0;

Returns:
The handle to the icon if the type of static control type is SS_ICON, or the pointer to the BITMAP object if the type is SS_BITMAP.

Definition at line 237 of file static.h.

#define STM_SETIMAGE   0xF172
 

Associates a new image (icon or bitmap) with a static control.

An application sends an STM_SETIMAGE message to associate a new image (icon or bitmap) with a static control.

 STM_SETIMAGE
 HICON image;
  or 
 BITMAP* image;

 wParam = (WPARAM)image;
 lParam = 0;

Parameters:
image The handle to an icon if the type of static control type is SS_ICON, or the pointer to a BITMAP object if the type is SS_BITMAP.
Returns:
The old image (handle or pointer).

Definition at line 219 of file static.h.


Generated on Mon Jun 26 14:21:37 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2