Click or drag to resize

HotKeyEdit.ApplyHotKey Method (Typed)

X#
Apply the HotKey object associated with this control to a particular window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD ApplyHotKey(
	oWindow AS IGuiObject
) AS USUAL
Request Example View Source

Parameters

oWindow
Type: IGuiObject
The window to which the HotKey object will be applied.

Return Value

Type: Usual
A numeric value indicating the result of applying the HotKey object to the window. The result can be one of the following values: ValueResult-1The operation was unsuccessful because the HotKey object is invalid.0The operation was unsuccessful because the window is invalid.1The operation was successful, and no other window has the same HotKey object.2The operation was successful, but another window already has the same HotKey object.
See Also