BUTTON_SPLITINFO structure (commctrl.h)
Contains information that defines a split button (BS_SPLITBUTTON and BS_DEFSPLITBUTTON styles). Used with the BCM_GETSPLITINFO and BCM_SETSPLITINFO messages.
Syntax
typedef struct tagBUTTON_SPLITINFO {
UINT mask;
HIMAGELIST himlGlyph;
UINT uSplitStyle;
SIZE size;
} BUTTON_SPLITINFO, *PBUTTON_SPLITINFO;
Members
mask
Type: UINT
A set of flags that specify which members of this structure contain data to be set or which members are being requested. Set this member to one or more of the following flags.
Value | Meaning |
---|---|
|
himlGlyph is valid. |
|
himlGlyph is valid. Use when uSplitStyle is set to BCSS_IMAGE. |
|
size is valid. |
|
uSplitStyle is valid. |
himlGlyph
Type: HIMAGELIST
A handle to the image list. The provider retains ownership of the image list and is ultimately responsible for its disposal.
uSplitStyle
Type: UINT
The split button style. Value must be one or more of the following flags.
size
Type: SIZE
A SIZE structure that specifies the size of the glyph in himlGlyph.
Remarks
The glyph is the image that appears on the part of the button that activates the dropdown list. By default, this is an inverted triangle. Multiple images can be added to the image list to provide different glyphs for different states of the button, such as hot and pressed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | commctrl.h |