[Overview][Constants][Types][Classes][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 126

public function TWidgetSet.GetDC(

  hWnd: HWND

):HDC; virtual;

Arguments

hWnd

  

The window handle.

Function result

The DC handle, zero on failure.