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
Allows the user to resize the panes of a split tree control using the keyboard.
C
void WINAPI SftTreeSplit_EnterResizeMode(HWND hwndCtl);
C++
void CSftTreeSplit::EnterResizeMode();
hwndCtl
The window handle of the tree control.
The EnterResizeMode function allows the user to resize the panes of a split tree control using the keyboard.
EnterResizeMode is only available for a split tree control.
The splitter bar of a split tree control can always be resized by dragging the splitter bar using the mouse. If an application wants to provide a keyboard interface, a menu option could be implemented which invokes EnterResizeMode.
Once EnterResizeMode is called, the panes of a split tree control can be resized using the left and right arrow keys. Once the user presses the Escape key or moves the mouse cursor away from the splitter bar, the resizing operation ends. While the user resizes the panes, SFTTREEN_COLUMNSIZE events are received by the application.
} break; case 1000: // Menu command, Exit DestroyWindow(hwnd); break; case 1001: // Menu command, Resize Splitter SftTreeSplit_EnterResizeMode(g_hwndTree); break; } break; } } return DefWindowProc(hwnd, msg, wParam, lParam); }
CSampleView* pTHIS = (CSampleView*)(LPVOID)UserData; // Call the object's member function. pTHIS->VReleaseItem(totCols, index, lpItem); } void CSampleView::OnResize() { m_Tree.EnterResizeMode(); }
See Also C/C++ API | Categories | Notifications