Retrieves the host screen cursor position.
- Parameters
- RowVal
- Variable to contain cursor's
row position.
- ColumnVal
- Variable to contain
cursor's column position.
- Returns
- 0 for success; or a non-zero error code. Refer to Error codes for
a complete listing of error code descriptions.
- Remarks
- When the GetCursor function returns, the RowVal and ColumnVal variables
contain the host screen cursor position.
- Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Connect "A"
bzhao.GetCursor row, col
bzhao.MsgBox "Cursor is at row " & row & ", column " & col, 0