SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the location of the item that was clicked again.
C
BOOL WINAPI SftTree_GetClickAgainPos(HWND hwndCtl, int* index, int* realCol); BOOL WINAPI SftTreeSplit_GetClickAgainPos(HWND hwndCtl, int* index, int* realCol);
C++
BOOL CSftTree::GetClickAgainPos(int* index, int* realCol) const; BOOL CSftTreeSplit::GetClickAgainPos(int* index, int* realCol) const;
hwndCtl
The window handle of the tree control.
index
A pointer to an integer where the item index is returned.
realCol
A pointer to an integer where the column number is returned.
The return value is TRUE if the function was successful, otherwise FALSE.
The GetClickAgainPos function returns the location of the item that was clicked again.
If a mouse button is clicked on a cell (any column) of an already selected item, the SFTTREEN_LBUTTONDOWN_TEXTAGAIN notification is generated. The notification is only generated if there is a sufficiently long pause between the first click to select the item and the second click. If the pause is not long enough, the SFTTREEN_LBUTTONDBLCLK_TEXT notification is generated instead.
GetClickAgainPos can be used to determine the index and column number where the click occurred when a SFTTREEN_LBUTTONDOWN_TEXTAGAIN notification is generated.
Use CalcIndexFromPoint to determine the item index or CalcCellFromPoint to determine the cell.
See Also C/C++ API | Categories | Notifications