Graphics.Handle

Read-Only
Gets the OS Handle for the passed Type. Pass a Graphics class constant to specify the Type.

Syntax
Handle( Type ) as Integer

Parameters
Type | Integer

# Notes

The class constants are as follows:

1-HandleTypeHDC. Gets the HDC on Windows.

2-HandleTypeCGrafPtr. Gets the QuickDraw CGrafPtr on Macintosh.

3-HandleTypeGdkDrawablePtr. Gets the GdkDrawable * on Linux.

4-HandleTypeGdkGCPtr. Gets the GdkGC * on Linux.

Handle will return zero if the requested handle Type is not available or is not supported.