Help Center

CButton.GetTextmethod

Retrieves the text in a button control.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetText (BYVAL hButton AS HWND) AS DWSTRING

Description

Retrieves the text in a button control.

Example

DIM dwsText AS DWSTRING = CButton.GetText(hButton)

Reference

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