Help Center

AfxGetTopEnabledWindowfunction

Retrieves the handle of the enabled and visible window at the top of the z-order in an application.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetTopEnabledWindow () AS HWND

Return value

Handle of the window at top of z-order or NULL.

Description

Retrieves the handle of the enabled and visible window at the top of the z-order in an application.

Reference

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