OLE control methods provide convenient one-time operations to developers. Unlike properties, whose values are persistent over the life of a control, methods represent actions that a control can perform. Often, methods will change the values of other control properties, so be sure to read the Remarks section of each method carefully. The following methods apply to the SRP Tree Control:
Method | Description | Version Introduced |
---|---|---|
AddItems | Adds new items to the tree. | |
AnimateItem | Animates one item as though it were flying to another tree. | |
ChangeKeys | Changes an item's key. | 4.0.1 |
EditItem | Puts an item into edit mode so a user can modify its contents inline. | 4.0.1 |
EnsureVisible | Brings an item into view. | |
GetItemRect | Returns an item's size and location. | |
GetItemRectEx | Returns the size and location of an item's specific visual element. | 4.0.1 |
HideBalloonTooltip | Hides the visible balloon tooltip. | |
InsertItems | Inserts new items into the tree. | |
MoveItems | Moves items from one location in the tree to another location. | |
RemoveAllItems | Removes all items from the tree. | |
RemoveItems | Removes items from the tree. | |
SendItems | Sends copies of items to another tree. | |
ShowBalloonTooltip | Displays a balloon tooltip over an item. | |
ShowContextMenu | Displays a context menu at the given mouse point. | |
Sort | Sorts an item's children. | |
TransferItems | Transfers copies of items to another tree. |