Help Center

AfxGetWindowSizefunction

Gets the width and height of a window, in pixels.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetWindowSize (BYVAL hwnd AS HWND, BYVAL nWidth AS LONG, BYVAL nHeight AS LONG) AS BOOLEAN

Parameters

NameDescription
hwndHandle to the window.
nWidthThe width of the window.
nHeightThe height of the window.

Description

Gets the width and height of the specified window, in pixels.

Reference

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