GetClientDC method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax OLE_HANDLE GetClientDC ();

Overview:  Refer to Using the Windows C DLL.

Remarks

Returns the device context of the Main Control's client area on the screen. You can use the device context with Windows C DLL functions, such as GDI drawing functions.

You should use the ReleaseClientDC method when the device context is no longer needed.

See Also

Elements:  ReleaseClientDC method

Topics:  Working with the Control: Client Area Usage