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
Ends a started SFTTREEN_AUTOEXPANDING notification timer.
C
void WINAPI SftTree_StopAutoExpandTimer(HWND hwndCtl); void WINAPI SftTreeSplit_StopAutoExpandTimer(HWND hwndCtl);
C++
void CSftTree::StopAutoExpandTimer(); void CSftTreeSplit::StopAutoExpandTimer();
hwndCtl
The window handle of the tree control.
The StopAutoExpandTimer function ends a started SFTTREEN_AUTOEXPANDING notification timer.
LPSFTTREE_DRAGINFO lpInfo; lpInfo = SftTree_GetDragInfo(m_hwndLeftTree); if (lpInfo->hwnd != m_hwndLeftTree) { // The target is another window // clear old drop target if (m_hwndLastTarget) { SftTree_SetDropHighlight(m_hwndLastTarget, -1, FALSE); SftTree_StopAutoExpandTimer(m_hwndLastTarget); } m_hwndLastTarget = NULL; // the target is another control, we have to set the cursor and // also update the drop target // In this example the "other" control could be the right tree control
index = m_LeftTree.GetDropHighlight(); text = _T("The drop target is item %d in the left tree control"); } // always clear drop targets. If you forget, or do it too late, // the vertical scrolling may still be active if (m_lastDropTarget) { m_lastDropTarget->SetDropHighlight(-1); m_lastDropTarget->StopAutoExpandTimer(); } m_lastDropTarget = NULL; str.Format(text, index); AfxMessageBox(str); }
See Also C/C++ API | Categories | Notifications