GRAPHIC GET DC statement

Purpose

Retrieve the handle of the DC (device context) for the selected graphic window.

Syntax

GRAPHIC GET DC TO hDC???

Function Form:

DCVar??? = GRAPHIC(DC)

Remarks

The DC handle may be used with various Windows API functions to perform specialized graphic operations in the graphic target.  If no graphic window is currently selected, zero is returned.

See also

GRAPHIC ATTACH