Button_GetSplitInfo macro

Gets information for a specified split button control. Use this macro or send the BCM_GETSPLITINFO message explicitly.

Syntax


BOOL Button_GetSplitInfo(
  [in]       HWND hwnd,
  [in, out]  BUTTON_SPLITINFO *pInfo
);

Parameters

hwnd [in]

Type: HWND

A handle to the button control.

pInfo [in, out]

Type: BUTTON_SPLITINFO*

A pointer to a BUTTON_SPLITINFO structure to receive information on the button specified by hwnd. The calling application is responsible for allocating the memory for the structure. Set the mask member of this structure to determine what information to receive.

Return value

Does not return a meaningful value.

Remarks

Use this macro only with the BS_SPLITBUTTON and BS_DEFSPLITBUTTON button styles.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

See also

Reference
Button Styles
Conceptual
Button Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.