PXUtil.GetDC Method 

Imports the GDI GetDC function that retrieves a handle to a display device context (DC) for the client area of a specified window or for the entire screen.

public static IntPtr GetDC(
   IntPtr hWnd


Handle to the window whose DC is to be retrieved. If this value is NULL, GetDC retrieves the DC for the entire screen.

Return Value

A handle to the DC for the specified window's client area if the function succeeds; otherwise, null.

See Also

PXUtil Class | UMD.HCIL.PiccoloX.Util Namespace