Help Center

CStatic.GetTextLengthmethod

Gets the length of the text of a static control.

WindowsmethodCStatic.incdocumented

Syntax

FUNCTION GetTextLength (BYVAL hStatic AS HWND) AS LONG

Description

Gets the length of the text of a static control.

Example

DIM nLen AS LONG = CStatic.GetTextLength(hStatic)

Reference

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