OpenGLSurface.ContextHandle

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aOpenGLSurface.ContextHandle

Supported for all project types and targets.

Returns a handle to the underlying OpenGL context.


Example

The following gets a handle to the OpenGLSurface:

Var i As Integer
i = Me.ContextHandle