Help Center

CButton.GetSplitStylemethod

Gets the style of the split button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetSplitStyle (BYVAL hButton AS HWND) AS UINT

Return value

The split button style. Can be be one or more of the following flags.

Description

Gets the split button style.

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

DIM dwStyle AS UINT = CButton.GetSplitStyle(hButton)

Reference

  • Include file CButton.inc
  • Defined in AfxNova/CButton.inc:484
  • Documented in Windows/WIndows Controls/CButton Class.md
  • Topic: CButton Class