Export (0) Print
Expand All

BUTTON_IMAGELIST structure

Contains information about an image list that is used with a button control.

Syntax


typedef struct {
  HIMAGELIST himl;
  RECT       margin;
  UINT       uAlign;
} BUTTON_IMAGELIST, *PBUTTON_IMAGELIST;

Members

himl

Type: HIMAGELIST

A handle to the image list. The provider retains ownership of the image list and is ultimately responsible for its disposal. Under Windows Vista, you can pass BCCL_NOGLYPH in this parameter to indicate that no glyph should be displayed.

margin

Type: RECT

A RECT that specifies the margin around the icon.

uAlign

Type: UINT

A UINT that specifies the alignment to use. This parameter can be one of the following values.

ValueMeaning
BUTTON_IMAGELIST_ALIGN_LEFT

Align the image with the left margin.

BUTTON_IMAGELIST_ALIGN_RIGHT

Align the image with the right margin.

BUTTON_IMAGELIST_ALIGN_TOP

Align the image with the top margin

BUTTON_IMAGELIST_ALIGN_BOTTOM

Align the image with the bottom margin

BUTTON_IMAGELIST_ALIGN_CENTER

Center the image.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

Reference
BCM_GETIMAGELIST
BCM_SETIMAGELIST
Button_GetImageList
Button_SetImageList
Conceptual
Buttons

 

 

Community Additions

ADD
Show:
© 2014 Microsoft