Help Center

AfxGetWorkAreafunction

Retrieves the coordinates of the work area on the primary display monitor expressed in virtual screen coordinates.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetWorkArea () AS RECT
Also documented as AfxWorkArea — one description covers them all.

Description

Retrieves the coordinates of the work area on the primary display monitor expressed in virtual screen coordinates. The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars. To get the work area of a monitor other than the primary display monitor, call the GetMonitorInfo function.

Reference

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