|
|
|
LastCursorPos |
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
used 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 | Categories | Notifications