An application sends a ZGM_GETCURSORINDEX message to get the cell index of the ZeeGrid cursor.
ZGM_GETCURSORINDEX
wParam = 0; //not used; must be zero
lParam = 0; //not used; must be zero
The return value is the cell index of the ZeeGrid cursor.
If the cursor has been "lost", this fuction will return -1.