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

TWidgetSet.DrawFrameControl

Draws a window frame control, of the specified type and style.

Declaration

Source position: winapih.inc line 82

public function TWidgetSet.DrawFrameControl(

  DC: HDC;

  const Rect: TRect;

  uType: Cardinal;

  uState: Cardinal

):Boolean; virtual;

Arguments

DC

  

The window frame device context.

uType

  

The control type, e.g. DFC_CAPTION.

uState

  

The control state, e.g. DFCS_CAPTIONCLOSE (close button).

Function result

False on failure.

Description

A window frame includes these components (uType):

Window managers do not normally allow the user to paint the components of an window frame, do not even supply an DC for that purpose.

The available features depend on the window manager of the actual platform, and the used widgetset.

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