ISDBTreeNodeEvents::OnShowMenuItem: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{MethodParameters | {{MethodParameters | ||
|ItemIndex |Long |}} | |ItemIndex |Long | Specify which action to test}} | ||
===Event description=== | ===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? | |||
Latest revision as of 18:10, 24 January 2008
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?