Click or drag to resize

DrawObject.Handle Method

X#
Return the handle for a DrawObject object.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Handle(
	nHandleType
) AS USUAL CLIPPER
Request Example View Source

Parameters

nHandleType (Optional)
Type: Usual
The type of handle required. 0 is the only supported option and is the default if nHandle is omitted.

Return Value

Type: Usual
A handle to the device context for the window on which the object is to be drawn. X# will release this handle when necessary. You should not save it to a variable.
Remarks
Tip Tip
This method only has an effect in an overridden DrawObject:Draw() method.
See Also