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

TWidgetSet.GetDeviceCaps

Returns various device specific informations.

Declaration

Source position: winapih.inc line 123

public function TWidgetSet.GetDeviceCaps(

  DC: HDC;

  Index: Integer

):Integer; virtual;

Arguments

DC

  

The device context.

Index

  

The value type, e.g. HORZRES.

Function result

The requested value

Description

The following informations can be retrieved:

See also

#lcl.LCLType.HORZRES

  

Horizontal width in pixels

The latest version of this document can be found at lazarus-ccr.sourceforge.net.