Help Center

CButton.SetSplitInfomethod

Sets information for a specified split button control.

WindowsmethodCButton.incdocumented

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

NameDescription
hButtonHandle of the button control.
pinfoA pointer to a BUTTON_SPLITINFO structure containing information about the split button.
infoA 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