tags:

views:

144

answers:

1

If you right-click in a standard MFC CEdit control you get a standard undo/cut/copy/paste/select-all context popup menu. But CRichEditCtrl doesn't provide the same thing as far as I can tell.

Is there any good reason why it was left out? Such a pain having to write custom controls to add in 'standard' functionality!

And how can it most easily be implemented? Is this a standard menu I can display or do I need to create my own menu from scratch to replicate the CEdit version?

+2  A: 

Interesting (Not necessarily an answer though) http://blogs.msdn.com/murrays/default.aspx

Ruddy
You can handle the WM_CONTEXTMENU notification and display your own popup-menu at that point (I don't know of any built-in menu's that could be used).
Ruddy
+1 for interestingness. Not counting it as an answer though :)
John
@john - fair enough :)
Ruddy
This is the way that I had to do things.
Mike Caron