Re: Substituting the main menu bar(s)
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: 2 Jun 2006 09:52:43 -0700
But even so, the program knows about two menus: one for when an MDI document
is open, and one for when one isn't. I need to replace both.
You can do that as well. Replace the menu handle in the doctemplate and
the one in mainframe (m_hMenuDefault ??). I did this long time ago and
it wasnt bad. I belive I posted an answer here as well several years
ago. I am not certain of m_hMenuDefault. Debug and see where does
mainframe stores its menu handle.
Unless you are doing in-place activation, I would ignore menu handles
for inplace activation etc. For a traditional app, m_hMenuShared should
be sufficient for a MDI application in addition to the menu handle for
mainframe(when no doc is active).
---
Ajay
.
- Follow-Ups:
- Re: Substituting the main menu bar(s)
- From: David Webber
- Re: Substituting the main menu bar(s)
- References:
- Substituting the main menu bar(s)
- From: David Webber
- Re: Substituting the main menu bar(s)
- From: Ajay Kalra
- Re: Substituting the main menu bar(s)
- From: David Webber
- Substituting the main menu bar(s)
- Prev by Date: Re: Command line compiler
- Next by Date: Re: DLL build error.
- Previous by thread: Re: Substituting the main menu bar(s)
- Next by thread: Re: Substituting the main menu bar(s)
- Index(es):