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

TWidgetSet.SetWindowExtEx

Sets the extent of the window for an device context.

Declaration

Source position: winapih.inc line 267

public function TWidgetSet.SetWindowExtEx(

  DC: HDC;

  XExtent: Integer;

  YExtent: Integer;

  OldSize: PSize

):Boolean; virtual;

Arguments

DC

  

The Device Context.

XExtent

  

The extent in logical units.

YExtent

  

The extent in logical units.

OldSize

  

Receives the previous extent, if not Nil.

Function result

False on failure.

See also

TWidgetSet.SetViewPortExtEx

  

Sets the extent of the viewport for a device context.

TWidgetSet.SetWindowOrgEx

  

Specifies which window point maps to the viewport origin (0,0).


Version 4.0 Generated 2025-05-03 Home