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
Moves a group of items to a new position in the tree control.
C
int WINAPI SftTree_MoveItems(HWND hwndCtl, int from, int count, int to); int WINAPI SftTreeSplit_MoveItems(HWND hwndCtl, int from, int count, int to);
C++
int CSftTree::MoveItems(int from, int count, int to); int CSftTreeSplit::MoveItems(int from, int count, int to);
hwndCtl
The window handle of the tree control.
from
The zero-based index of the first item to be moved.
count
The number of items to be moved.
to
The zero-based index of the location where the moved items are to be inserted. If to is -1, the items will be added at the end of the list.
The return value is the number of moved items or -1 if an error occurred.
The MoveItems function moves a group of items to a new position in the tree control.
MoveItems moves all item attributes, including cell text, pictures, level, row header contents, etc.
An item's dependents are not moved unless they are included in count. If any dependent items are not included in count, they are removed if their parent item is collapsed. They are not removed if the parent item is expanded.
Items can be copied using CopyItems.
In a tree control using a virtual data source, this function cannot be used and an error is returned.
See Also C/C++ API | Categories | Notifications