Help Center

AfxGetWindowClassNamefunction

Retrieves the name of the class to which the specified window belongs.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetWindowClassName (BYVAL hwnd AS HWND) AS DWSTRING

Parameters

NameDescription
hwndHandle to the window.

Return value

The name of the class.

Description

Retrieves the name of the class to which the specified window belongs.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:1814
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures