Help Center

AfxScreenWidthfunction

Retrieves the width of the screen, in pixels. This function is virtualized for DPI.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxScreenWidth () AS LONG

Description

Retrieves the width of the screen, in pixels. This function is virtualized for DPI.

Reference

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