GetClientDC method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_HANDLE GetClientDC ();

Overview:  Refer to Using the Windows API.

Remarks

Returns the device context of the Main Control's client area on the screen. You can use the device context with Windows API 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