Help Center

CButton.GetStylemethod

Retrieves the style of the button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetStyle (BYVAL hButton AS HWND) AS DWORD

Return value

The style of the button.

Description

Retrieves the style of the button.

Example

DIM dwStyle AS DWORD = CButton.GetStyle(hButton)

Reference

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