Pop up menu on treectrl
BlitzMax Forums/Brucey's Modules/Pop up menu on treectrl| 
 | ||
| Is there anyway to detect a right click on a treectrl to display a popup menu? Doesn't seem like there is looking at the event list. Cheers! | 
| 
 | ||
| Which module are we talking about? :-) | 
| 
 | ||
| wxTreeCtrl in the wxListCtrl there is wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK but there doesn't seem to be any equivalent for the treectrl. Probably just me being stupid though :) | 
| 
 | ||
| Ah yes, the documentation appears to be lacking in wxTreeCtrl. The one you are after is called wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK. | 
| 
 | ||
| Excellent, thanks Brucey. |