#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;
#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;
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. |