Click here to Skip to main content
15,846,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ShellExecute Pin
Johnny ²14-May-03 22:43
Johnny ²14-May-03 22:43 
GeneralRe: ShellExecute Pin
Bonnie214-May-03 23:05
Bonnie214-May-03 23:05 
GeneralRe: ShellExecute Pin
Rage14-May-03 23:12
professionalRage14-May-03 23:12 
Generalwindow handle Pin
r i s h a b h s14-May-03 21:55
r i s h a b h s14-May-03 21:55 
GeneralRe: window handle Pin
Rage14-May-03 23:22
professionalRage14-May-03 23:22 
GeneralRe: window handle Pin
Renjith Ramachandran15-May-03 5:59
Renjith Ramachandran15-May-03 5:59 
GeneralUpdating Main Menu Pin
Member 45833214-May-03 21:37
Member 45833214-May-03 21:37 
GeneralRe: Updating Main Menu Pin
Roger Allen15-May-03 6:32
Roger Allen15-May-03 6:32 
The menu's displayed in the MDI are kept in the CDocTemplate::m_hMenuShared member var of the CDocTemplate objects you registered in the InitInstance of your application. If you want to modify these, you need to pass the HMENU in that variable to a function in the DLL which will modify the menu and add/remove the required menu options.

An article of mine may be of interest here:

Plug in architecture for MFC[^] This handles MDI apps and menu modifications etc.


Roger Allen
Sonork 100.10016

Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
GeneralBuilding for Win98 from XP Pin
Jo Fredrickson14-May-03 19:45
Jo Fredrickson14-May-03 19:45 
GeneralRe: Building for Win98 from XP Pin
Bartosz Bien14-May-03 20:55
Bartosz Bien14-May-03 20:55 
GeneralRe: Building for Win98 from XP Pin
Joan M14-May-03 22:07
professionalJoan M14-May-03 22:07 
GeneralRe: Building for Win98 from XP Pin
Jo Fredrickson15-May-03 5:26
Jo Fredrickson15-May-03 5:26 
Generalproblem in SHFileOperation Pin
roboo14-May-03 17:07
roboo14-May-03 17:07 
GeneralRe: problem in SHFileOperation Pin
valikac14-May-03 20:53
valikac14-May-03 20:53 
Generalfreshman Pin
linex14-May-03 14:33
linex14-May-03 14:33 
GeneralRe: freshman Pin
John R. Shaw14-May-03 14:51
John R. Shaw14-May-03 14:51 
GeneralRe: freshman Pin
Nitron14-May-03 15:22
Nitron14-May-03 15:22 
GeneralRe: freshman Pin
Gary Kirkham14-May-03 15:43
Gary Kirkham14-May-03 15:43 
GeneralRe: freshman Pin
linex15-May-03 1:46
linex15-May-03 1:46 
GeneralOS detection Pin
elisap14-May-03 14:11
elisap14-May-03 14:11 
GeneralRe: OS detection Pin
Michael Dunn14-May-03 14:34
sitebuilderMichael Dunn14-May-03 14:34 
GeneralRe: OS detection Pin
Trollslayer15-May-03 2:35
mentorTrollslayer15-May-03 2:35 
GeneralRe: OS detection Pin
John M. Drescher14-May-03 14:54
John M. Drescher14-May-03 14:54 
GeneralMFC in VS.NET 2003 Pin
paulb14-May-03 14:09
paulb14-May-03 14:09 
GeneralRe: MFC in VS.NET 2003 Pin
Wes Aday14-May-03 14:41
professionalWes Aday14-May-03 14:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.