SftTree/DLL 6.5

LastCursorPos

Softel vdm, Inc.

Returns the last cursor position in tree control client area coordinates.

C

void WINAPI SftTree_GetLastCursorPos(HWND hwndCtl, LPPOINT lpPoint);
void WINAPI SftTreeSplit_GetLastCursorPos(HWND hwndCtl, LPPOINT lpPoint);

C++

void CSftTree::GetLastCursorPos(LPPOINT lpPoint) const;
void CSftTreeSplit::GetLastCursorPos(LPPOINT lpPoint) const;

Parameters

hwndCtl

The window handle of the tree control.

lpPoint

A pointer to a POINT structure where the last cursor position is returned (client area coordinates).

Comments

Information specific to SftTree/DLL Windows Mobile Editionused with Windows Mobile Edition only: The GetLastCursorPos function returns the last cursor position in tree control client area coordinates. This is used to obtain the location where a stylus tap occurred. Pocket PCs don't have a cursor that is displayed, so the Windows API GetCursorPos doesn't return any useful information. The GetLastCursorPos function returns the last position the tree control received from a WM_MOUSEMOVE or button message, such as WM_LBUTTONDOWN.

For other environments, the Windows API GetCursorPos is normally used to obtain the cursor position. 

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com