Janiv Ratson
2006-03-07 08:54:42 UTC
Hello,
I have an mdi application.
It holds my derived tree control.
I'm trying to write a plugins mechansim.
I want to enable an MFC extension dll, to add to the application tree
control its own menu items.
i.e. My derived tree control context menu consist of Copy, Cut, Paste and
Properties menu items.
I want to enable an MFC extension to add its own menu items to this context
menu, for example: Select, Set Host and Rename.
I also want that the handlers of thoses added menu items to reside in the
MFC Extension dll.
What is the best way to implement this kind of mechanism.
Thanks,
Janiv Ratson.
I have an mdi application.
It holds my derived tree control.
I'm trying to write a plugins mechansim.
I want to enable an MFC extension dll, to add to the application tree
control its own menu items.
i.e. My derived tree control context menu consist of Copy, Cut, Paste and
Properties menu items.
I want to enable an MFC extension to add its own menu items to this context
menu, for example: Select, Set Host and Rename.
I also want that the handlers of thoses added menu items to reside in the
MFC Extension dll.
What is the best way to implement this kind of mechanism.
Thanks,
Janiv Ratson.