CButton.SetSplitInfomethod
Sets information for a specified split button control.
Syntax
FUNCTION SetSplitInfo (BYVAL hButton AS HWND, BYVAL pinfo AS BUTTON_SPLITINFO PTR) AS BOOLEAN
FUNCTION SetSplitInfo (BYVAL hButton AS HWND, BYREF info AS BUTTON_SPLITINFO) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hButton | Handle of the button control. | |
pinfo | A pointer to a BUTTON_SPLITINFO structure containing information about the split button. | |
info | A BUTTON_SPLITINFO structure containing information about the split button. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Sets information for a specified split button control.
Remarks
Use this message only with the BS_SPLITBUTTON and BS_DEFSPLITBUTTON button styles.
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:514
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class