Jaime Wyant
May 24th, 1999, 11:04 AM
I have
class CMyTreeCtrl : CTreeCtrl
Which I need to display Right-Click popup menus. However my OnContextMenu() handler is not being called when I right-click in the tree control.
Can anyone tell me why this handler is not being called? I can get my menu to popup by catching Right-button down events, but it aint working just right.
Shouldn't the popup menu be displayed from within OnContextMenu()?
Thanks,
Jaime
class CMyTreeCtrl : CTreeCtrl
Which I need to display Right-Click popup menus. However my OnContextMenu() handler is not being called when I right-click in the tree control.
Can anyone tell me why this handler is not being called? I can get my menu to popup by catching Right-button down events, but it aint working just right.
Shouldn't the popup menu be displayed from within OnContextMenu()?
Thanks,
Jaime