views:

9

answers:

0

Dear StackOverflow,

I have a RichEdit control that uses an implementation of the IRichEditOleCallback interface, so that it can host images and embedded objects.

Part of this interface is the GetContextMenu method. If this method remains unimplemented, the context menu (obviously) will not show up. Returning E_NOTIMPL does not do the trick.

I would not like to implement a context menu from scratch, while the default one is perfectly fine. Is there a simple way to bring back the context menu while using IRichEditOleCallback?

Thanks.

Yaroslav

EDIT: I discovered that a click on the "context menu" keyboard key still brings up the default menu. It's a right-click that doesn't work.