Export (0) Print
Expand All

BM_GETIMAGE message

Retrieves a handle to the image (icon or bitmap) associated with the button.

Parameters

wParam

The type of image to associate with the button. This parameter can be one of the following values.

ValueMeaning
IMAGE_BITMAP

A bitmap.

IMAGE_ICON

An 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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
BM_SETIMAGE
Conceptual
Buttons

 

 

Community Additions

ADD
Show:
© 2015 Microsoft