GLControl

Object List Hierarchy Next Object

Definition:

Allows you to write Graphics Language (GL) routines. Initializes a Control Window to use GL graphics. The window is initialized and key data members are made available for use. The GL data members can be used in code written by the user and compiled into a DLL.

Icon: images/Phx00161.gif

Specialized Features:

The following table lists and describes the properties, methods, and events added by GLControl.


Properties Use to...


hDC Provide access to the GL Device Context.

hRC Provide access to the GL Rendering Context.


Methods Use to...


WglMakeCurrent Set the current GL window to this object. This should be called before performing other GL operations.


Events Use to...


Resize Perform some action when the the GLControl is resized.

Paint Perform some action when the GLControl is painted.

Copied Features:

images/Phx00162.gif Properties images/Phx00163.gif Methods images/Phx00164.gif Events