[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.GetWindowSize

Returns the Width and Height of the window.

Declaration

Source position: winapih.inc line 161

public function TWidgetSet.GetWindowSize(

  Handle: HWND;

  var Width: Integer;

  var Height: Integer

):Boolean; virtual;

Arguments

Handle

  

The window handle.

Width

  

The width.

Height

  

The height.

Function result

False on failure.

Description

The size value is the client width and height for forms, or the total combined size for sub-controls.


Version 4.0 Generated 2025-05-03 Home