Click or drag to resize

Window.DrawBackground Method (Typed)

X#
Draw the background of a window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD DrawBackground(
	hdc,
	oWindow
) AS USUAL CLIPPER
Request Example View Source

Parameters

hdc (Optional)
Type: Usual
The handle of the device context.
oWindow (Optional)
Type: Usual
The window to be drawn. The oWindow object is normally identical with SELF except when SELF is a DataWindow. In this case oWindow should be the oSurface (__FormDialogWindow) object. In a DataWindow you should draw the background only if oWindow == oSurface, otherwise it is superfluous.

Return Value

Type: Usual
Remarks
If you draw the background for yourself you should return TRUE otherwise FALSE.
See Also