Help Center

CStatic.GetTextmethod

Gets the text of a static control.

WindowsmethodCStatic.incdocumented

Syntax

FUNCTION GetText (BYVAL hStatic AS HWND) AS DWSTRING

Description

Gets the text of a static control.

Example

DIM dwsText AS DWSTRING = CStatic.GetText(hStatic)

Reference

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