ISDBTreeNodeEvents::OnShowMenuItem
Jump to navigation
Jump to search
CoClass SDBTreeNode, Interface ISDBTreeNodeEvents
Function OnShowMenuItem(ItemIndex As Long) As Boolean
Parameters
Name | Type | Description |
---|---|---|
ItemIndex | Long | Specify which action to test |
Event description
This event is generally called before ISDBTreeNodeEvents::OnExecMenuItem is called. Custom handler can specify how this tree node should behave, i.e. for individual ItemIndex values returns true/false. ItemIndex can be:
- 3 .. Properties - Should this tree node has Properties menu item?
- 4 .. Custom Remove - Does this tree node has its own handling of Remove command?
- 5 .. Can Remove - Does this tree node handle Remove command at all?
- 6 .. Free Space - Show Free space in the status bar for this tree node?