Help Center

CButton.GetSplitGlyphSizemethod

Gets the size of the glyph in the image list.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetSplitGlyphSize (BYVAL hButton AS HWND) AS SIZE

Return value

A SIZE structure that specifies the size of the glyph.

Description

Gets the size of the glyph in the image list.

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 sz AS SIZE = CButton.GetSplitGlyphSize(hButton)

Reference

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