|
|
|
CaretColumn |
Returns the column where a mouse button was last clicked.
C
int WINAPI SftTree_GetCaretColumn(HWND hwndCtl); int WINAPI SftTreeSplit_GetCaretColumn(HWND hwndCtl);
C++
int CSftTree::GetCaretColumn() const; int CSftTreeSplit::GetCaretColumn() const;
Parameters
hwndCtl
The window handle of the tree control.
Returns
The return value is the zero-based column number where a mouse button was last clicked. The return value is -1 if the mouse button has been clicked outside of a column.
Comments
The GetCaretColumn function returns the column where a mouse button was last clicked.
As a tree control, SftTree/DLL does not support cell selection, only item selection is possible using SetCaretIndex. Consequently, a "SetCaretColumn" function is not available.
See Also C/C++ API | Categories | Notifications