Help Center

CWindow.ControlClientWidthproperty

Returns the unscaled client width of the specified window.

WindowspropertyCWindow.incdocumented

Syntax

PROPERTY ControlClientWidth (BYVAL hwnd AS HWND) AS LONG

Parameters

NameDescription
hwndHandle to the window or control.

Description

Returns the unscaled client width of the specified window or control.

Example

DIM nHeight AS LONG = pWindow.ControlClientWidth(hwnd)

Reference

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