Hi,

On the view derived from CView I have created a window using CWnd::Create. The context menu is shown correct no matter if I right click on the created child window or inside the view window itself. But the command e.g. ID_EDIT_COPY do not work if right click on the child window but the view window.
The child window eats the command.
How can I redirect the command to the parent window? I tried to use OnCmdMsg but this does not work. (stack overflow)

I already use OnCmdMsg in the view class because some commands should be sent to the child. I think that the command is sent from one OnCmdMsg to the other and back and....

Any idea?