Click here to Skip to main content
16,010,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit - A Simple Question Pin
Fredrik Skog3-Dec-01 22:31
Fredrik Skog3-Dec-01 22:31 
Generaldifferent outlook on different pc. Pin
zecodela20-Nov-01 16:41
zecodela20-Nov-01 16:41 
GeneralRe: different outlook on different pc. Pin
Alvaro Mendez20-Nov-01 17:59
Alvaro Mendez20-Nov-01 17:59 
GeneralCode bloat! Pin
Todd Smith20-Nov-01 14:12
Todd Smith20-Nov-01 14:12 
Generalcreating a new doc, the sequel Pin
robbied20-Nov-01 12:51
robbied20-Nov-01 12:51 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 13:07
protectorChristian Graus20-Nov-01 13:07 
GeneralRe: creating a new doc, the sequel Pin
robbied20-Nov-01 15:15
robbied20-Nov-01 15:15 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 15:24
protectorChristian Graus20-Nov-01 15:24 
I posted that from memory, it's obviously wrong. Loading the project now..... I must say I'm surprised, you've done something odd because by default all this stuff is plumbed in for you. I almost started a guitar tab program myself once....

I have multiple templates and in CWinApp I force use of the first one like this:

// Force use of first template as it does not matter
POSITION POS = GetFirstDocTemplatePosition();
CDocTemplate* pTemp = GetNextDocTemplate(POS);
CGrausPaintDoc* pDoc = (CGrausPaintDoc*) pTemp->OpenDocumentFile(NULL);


which is why I expected OpenDocumentFile(NULL) to work. How did you create this project so that clicking File/New doesn't do it for you ?



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
GeneralRe: creating a new doc, the sequel Pin
robbied20-Nov-01 16:03
robbied20-Nov-01 16:03 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 16:11
protectorChristian Graus20-Nov-01 16:11 
General::SetDIBitsToDevice problem Pin
Joel Holdsworth20-Nov-01 10:59
Joel Holdsworth20-Nov-01 10:59 
GeneralRe: ::SetDIBitsToDevice problem Pin
Chris Hafey20-Nov-01 15:41
Chris Hafey20-Nov-01 15:41 
GeneralRe: ::SetDIBitsToDevice problem Pin
Chris Hafey20-Nov-01 16:15
Chris Hafey20-Nov-01 16:15 
QuestionSimple menu??? Pin
habebe20-Nov-01 10:36
habebe20-Nov-01 10:36 
AnswerRe: Simple menu??? Pin
John Clump22-Nov-01 21:11
John Clump22-Nov-01 21:11 
GeneralTime Display Pin
Peter Liddle20-Nov-01 10:19
Peter Liddle20-Nov-01 10:19 
GeneralRe: Time Display Pin
chris196220-Nov-01 10:59
chris196220-Nov-01 10:59 
GeneralRe: Time Display Pin
Alvaro Mendez20-Nov-01 11:48
Alvaro Mendez20-Nov-01 11:48 
GeneralRe: Time Display Pin
Michael Dunn20-Nov-01 16:30
sitebuilderMichael Dunn20-Nov-01 16:30 
GeneralA real challenge . . . customizing programs without the source code Pin
chris196220-Nov-01 10:14
chris196220-Nov-01 10:14 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
Alvaro Mendez20-Nov-01 11:41
Alvaro Mendez20-Nov-01 11:41 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
chris196220-Nov-01 17:38
chris196220-Nov-01 17:38 
GeneralRe: Load the resource by the different DLL! Pin
Masaaki Onishi20-Nov-01 16:52
Masaaki Onishi20-Nov-01 16:52 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
Rassman20-Nov-01 22:26
Rassman20-Nov-01 22:26 
GeneralOT : integrating a TCL command line into an MFC Application Pin
Stephane Routelous20-Nov-01 9:40
Stephane Routelous20-Nov-01 9:40 

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.