|
-
January 7th, 2006, 05:48 PM
#1
OnContextMenu in a doc/view
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|