CButton.GetSplitInfomethod
Gets information for a specified split button control.
Syntax
FUNCTION GetSplitInfo (BYVAL hButton AS HWND, BYVAL pinfo AS BUTTON_SPLITINFO PTR) AS BOOLEAN
FUNCTION GetSplitInfo (BYVAL hButton AS HWND, BYVAL info AS BUTTON_SPLITINFO) AS BOOLEAN
FUNCTION GetSplitInfo (BYVAL hButton AS HWND) AS BUTTON_SPLITINFO
Parameters
| Name | Description | |
|---|---|---|
pinfo | A pointer to a BUTTON_SPLITINFO structure to receive information on the button. The caller is responsible for allocating the memory for the structure. Set the mask member of this structure to determine what information to receive. | |
info | A BUTTON_SPLITINFO structure to receive information on the button. The caller is responsible for allocating the memory for the structure. Set the mask member of this structure to determine what information to receive. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Gets information for a split button control.
Remarks
Use this message only with the BS_SPLITBUTTON and BS_DEFSPLITBUTTON button styles.
To use this message, you must provide a manifest specifying Comclt32.dll version 6.0.
Example
info AS BUTTON_SPLITINFO CButton.GetSplitInfo(hButton, @info) CButton.GetSplitInfo(hButton, info) info = CButton.GetSplitInfo(hButton)
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:465
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class