Button_SetSplitInfo macro
Sets information for a specified split button control. Use this macro or send the BCM_SETSPLITINFO message explicitly.
Syntax
BOOL Button_SetSplitInfo( [in] HWND hwnd, [in] BUTTON_SPLITINFO *pInfo );
Parameters
- hwnd [in]
-
Type: HWND
A handle to the button control.
- pInfo [in]
-
Type: BUTTON_SPLITINFO*
A pointer to a BUTTON_SPLITINFO structure. The calling application is responsible for allocating the memory for this structure and initializing it. Set the mask member of this structure to determine what information to set for the button specified by hwnd.
Return value
Returns TRUE if successful, or FALSE otherwise.
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 |
|
See also
- Reference
- Button Styles
- Conceptual
- Button Types
Send comments about this topic to Microsoft
Build date: 10/27/2012
