[Overview][Types][Procedures and functions][Variables][Index] |
Returns the Width and Height of a window, including the window decoration.
Source position: winapih.inc line 160
function GetWindowSize( |
Handle: HWND; |
var Width: Integer; |
var Height: Integer |
):Boolean; |
This function is a Lazarus addition and does not exist in the Windows API. It returns the Width and Height of a window, including the window decoration. To get the size of a form without the window decoration just use TCustomForm.Width and TCustomForm.Height or TCustomForm.ClientWidth and TCustomForm.ClientHeight.
|
Retrieves the bounding rectangle of a window, including the window decoration in screen coordinates. |
|
#lcl.Forms.TCustomForm.Width |
||
#lcl.Forms.TCustomForm.Height |
||
#lcl.Forms.TCustomForm.ClientWidth |
||
#lcl.Forms.TCustomForm.ClientHeight |
lazarus-ccr.sourceforge.net |