Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ShellExecute Pin
Johnny ²14-May-03 21:43
Johnny ²14-May-03 21:43 
GeneralRe: ShellExecute Pin
Bonnie214-May-03 22:05
Bonnie214-May-03 22:05 
GeneralRe: ShellExecute Pin
Rage14-May-03 22:12
professionalRage14-May-03 22:12 
Generalwindow handle Pin
r i s h a b h s14-May-03 20:55
r i s h a b h s14-May-03 20:55 
GeneralRe: window handle Pin
Rage14-May-03 22:22
professionalRage14-May-03 22:22 
GeneralRe: window handle Pin
Renjith Ramachandran15-May-03 4:59
Renjith Ramachandran15-May-03 4:59 
GeneralUpdating Main Menu Pin
Member 45833214-May-03 20:37
Member 45833214-May-03 20:37 
GeneralRe: Updating Main Menu Pin
Roger Allen15-May-03 5:32
Roger Allen15-May-03 5: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 18:45
Jo Fredrickson14-May-03 18:45 
GeneralRe: Building for Win98 from XP Pin
Bartosz Bien14-May-03 19:55
Bartosz Bien14-May-03 19:55 
GeneralRe: Building for Win98 from XP Pin
Joan M14-May-03 21:07
professionalJoan M14-May-03 21:07 
GeneralRe: Building for Win98 from XP Pin
Jo Fredrickson15-May-03 4:26
Jo Fredrickson15-May-03 4:26 
Generalproblem in SHFileOperation Pin
roboo14-May-03 16:07
roboo14-May-03 16:07 
GeneralRe: problem in SHFileOperation Pin
valikac14-May-03 19:53
valikac14-May-03 19:53 
Generalfreshman Pin
linex14-May-03 13:33
linex14-May-03 13:33 
GeneralRe: freshman Pin
John R. Shaw14-May-03 13:51
John R. Shaw14-May-03 13:51 
GeneralRe: freshman Pin
Nitron14-May-03 14:22
Nitron14-May-03 14:22 
GeneralRe: freshman Pin
Gary Kirkham14-May-03 14:43
Gary Kirkham14-May-03 14:43 
GeneralRe: freshman Pin
linex15-May-03 0:46
linex15-May-03 0:46 
GeneralOS detection Pin
elisap14-May-03 13:11
elisap14-May-03 13:11 
GeneralRe: OS detection Pin
Michael Dunn14-May-03 13:34
sitebuilderMichael Dunn14-May-03 13:34 
GeneralRe: OS detection Pin
Trollslayer15-May-03 1:35
mentorTrollslayer15-May-03 1:35 
GeneralRe: OS detection Pin
John M. Drescher14-May-03 13:54
John M. Drescher14-May-03 13:54 
GeneralMFC in VS.NET 2003 Pin
paulb14-May-03 13:09
paulb14-May-03 13:09 
GeneralRe: MFC in VS.NET 2003 Pin
Wes Aday14-May-03 13:41
professionalWes Aday14-May-03 13: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.