This member of RFIO Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The AddHotKey method lets you custom define additional command keys for your applications.
VB
bStatus = object.AddHotKey (nHotKey)
VC++
HRESULT hr = object->AddHotKey(short HotKey, BOOL *bStatus);
Return Value
bStatus |
The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value. |
Parameters
nHotKey | A short integer specifying the ASCII value of the new command hot key (for example, 27). |
Remarks
Use the ClearHotKey Method to clear any custom command keys you have created. The return type for custom command keys is WLCOMMANDTYPE. Use the LastInputType Method to process input based on the return type.
Example
' VB Sample Code
Dim wlio As New RFIO.
.
.
If bStatus = wlio.AddHotKey (Asc('Z')) = False Then
GoTo Exit App
End If
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other