Help Center

CWindow.Widthproperty

Returns the unscaled width of the main window.

WindowspropertyCWindow.incdocumented

Syntax

PROPERTY Width () AS LONG

Description

Returns the unscaled width of the main window.

Example

DIM nWidth AS LONG = pWindow.Width

Reference

  • Include file CWindow.inc
  • Defined in AfxNova/CWindow.inc:1026
  • Documented in Windows/Windows GUI/CWindow Class.md
  • Topic: CWindow Class