Help Center

AfxWorkAreafunction

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

WindowsfunctionAfxWin.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION AfxGetWorkArea () AS RECT
Also documented as AfxGetWorkArea — 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
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures