HDC

This property returns a handle provided by Windows CE to the device context of an object.

Syntax

object.HDC

Parameters

object
Object expression that evaluates to an object.

Remarks

The HDC property is a Windows CE device context handle. Windows CE manages the system display by assigning a device context for an object and for each form in your application. You can use the HDC property to refer to the handle for an object's device context.

The value of the HDC property can change while an application runs, so do not store the value in a variable; instead, use the HDC property each time you need it.