STM_GETIMAGE message

An application sends an STM_GETIMAGE message to retrieve a handle to the image (icon or bitmap) associated with a static control.

Parameters

wParam

Specifies the type of image to retrieve. This parameter can be one of the following values:

ValueMeaning
IMAGE_BITMAP

Bitmap.

IMAGE_CURSOR

Cursor.

IMAGE_ENHMETAFILE

Enhanced metafile.

IMAGE_ICON

Icon.

 

lParam

This parameter is not used.

Return value

The return value is a handle to the image, if any; otherwise, it is NULL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

STM_SETIMAGE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft