Help Center

AfxGetWorkAreaWidthfunction

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

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetWorkAreaWidth () AS LONG

Description

Retrieves the width 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:2847
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures