Adding menu to MDI ChildWindow

Status
Not open for further replies.

mledalla

Beta member
Messages
1
Hello,


I am working with MDI application in VC++ MFC. My view is derived from CFormView.I need a menu for my child window seperately. Since MDI child windows cannot have menu of their own, I had to find a workaround solution to this. So on my view I attached a dialog which has a menu. When I click on view, the dialog appears to be grayed, but when clicked on dialog the menu appears to be enabled. The same is the case with view, it appears to be grayed when clicked on dialog(i.e menu on dialog). Is there any way
to make the dialog appear as enabled always irrespective of the focus on
it?

Or is there any othey way to add a menu to Child window. I need tocreate
an MDI child menu attached to the Child Window without replacing the
mainframe's menu. I should be able to access both the child window menu and the main frame menu both simultaneously from the window at a time. Can you please suggest any solution to this.Please email to me if you have any useful relevant information on the above.


Thanks in anticipation of information.
Madhavi
 
Status
Not open for further replies.
Back
Top Bottom