Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Office Add-in Pin
Andrew Walker3-Jul-03 20:24
Andrew Walker3-Jul-03 20:24 
GeneralAdo Pin
Anthony98873-Jul-03 16:36
Anthony98873-Jul-03 16:36 
GeneralADO Pin
Anonymous3-Jul-03 16:34
Anonymous3-Jul-03 16:34 
GeneralRun in release mode Pin
Gagnon Claude3-Jul-03 16:34
Gagnon Claude3-Jul-03 16:34 
GeneralRe: Run in release mode Pin
John M. Drescher3-Jul-03 16:58
John M. Drescher3-Jul-03 16:58 
GeneralVersion Number Pin
Gagnon Claude3-Jul-03 16:28
Gagnon Claude3-Jul-03 16:28 
GeneralRe: Version Number Pin
Ryan Binns3-Jul-03 17:12
Ryan Binns3-Jul-03 17:12 
GeneralMultiple Doc Templates Pin
flip3-Jul-03 15:30
flip3-Jul-03 15:30 
Hi,

I wish to have two different views of the document (in a MDI app) but with different menus for each view.


I basically want to use a class A and use it for different methods. Each method
would require a different view and different options - hence a new menu system.
I have two class extensions of the view and do AddDocTemplate for each new template.
However it only brings up the dialog to choose the view if the IDR menu resource is the
same.

When I use the same menu for each call to new CMultiDocTemplate it works as wanted
except that the menu is the same. I don't want to dynamically carve the menu at runtime
so there must be any easier way.

Does anyone know what I am doing wrong?

Regards,

flip


GeneralRe: Multiple Doc Templates Pin
Ryan Binns3-Jul-03 15:50
Ryan Binns3-Jul-03 15:50 
GeneralRe: Multiple Doc Templates Pin
flip3-Jul-03 16:36
flip3-Jul-03 16:36 
GeneralRe: Multiple Doc Templates Pin
Ryan Binns3-Jul-03 16:40
Ryan Binns3-Jul-03 16:40 
GeneralWindows shell programming - Systray Pin
haritadala3-Jul-03 14:09
haritadala3-Jul-03 14:09 
GeneralRe: Windows shell programming - Systray Pin
Michael Dunn3-Jul-03 15:18
sitebuilderMichael Dunn3-Jul-03 15:18 
GeneralRe: Windows shell programming - Systray Pin
Ryan Binns3-Jul-03 15:19
Ryan Binns3-Jul-03 15:19 
GeneralShare Error Pin
amleth3-Jul-03 13:42
amleth3-Jul-03 13:42 
GeneralRe: Share Error Pin
John M. Drescher3-Jul-03 17:34
John M. Drescher3-Jul-03 17:34 
GeneralRe: Share Error Pin
amleth3-Jul-03 18:55
amleth3-Jul-03 18:55 
GeneralRe: Share Error Pin
John M. Drescher4-Jul-03 3:02
John M. Drescher4-Jul-03 3:02 
QuestionIs there a way to get the screen coordinate of an IHTMLElement? Pin
touchzen3-Jul-03 13:23
touchzen3-Jul-03 13:23 
GeneralFocus rect Pin
Xakep3-Jul-03 12:01
Xakep3-Jul-03 12:01 
QuestionMainframe without a toolbar? Pin
clintsinger3-Jul-03 11:23
clintsinger3-Jul-03 11:23 
AnswerRe: Mainframe without a toolbar? Pin
Neville Franks3-Jul-03 12:23
Neville Franks3-Jul-03 12:23 
AnswerRe: Mainframe without a toolbar? Pin
Ryan Binns3-Jul-03 15:21
Ryan Binns3-Jul-03 15:21 
AnswerRe: Mainframe without a toolbar? Pin
Michael Dunn3-Jul-03 15:22
sitebuilderMichael Dunn3-Jul-03 15:22 
GeneralKeybord input Pin
Zedd3-Jul-03 11:00
Zedd3-Jul-03 11:00 

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.