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

TWidgetSet.GetDC

Returns the handle of an Device Context (DC) for the client area of a window.

Declaration

Source position: winapih.inc line 122

public function TWidgetSet.GetDC(

  hWnd: HWND

):HDC; virtual;

Arguments

hWnd

  

The window handle.

Function result

The DC handle, zero on failure.

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