Click here to Skip to main content
15,912,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit & CDialog Pin
gas21-Jan-01 11:54
gas21-Jan-01 11:54 
GeneralRe: CEdit & CDialog Pin
Masoud Samimi21-Jan-01 22:57
Masoud Samimi21-Jan-01 22:57 
GeneralRe: CEdit & CDialog Pin
gas22-Jan-01 10:06
gas22-Jan-01 10:06 
GeneralRe: CEdit & CDialog Pin
Masoud Samimi22-Jan-01 23:02
Masoud Samimi22-Jan-01 23:02 
Questionstrcore.cpp error? Can someone please look at this? Pin
21-Jan-01 10:59
suss21-Jan-01 10:59 
AnswerRe: strcore.cpp error? Can someone please look at this? Pin
AlexMarbus21-Jan-01 11:55
AlexMarbus21-Jan-01 11:55 
GeneralDoc/View Questions Pin
Member 671821-Jan-01 9:41
Member 671821-Jan-01 9:41 
GeneralRe: Doc/View Questions Pin
Masoud Samimi21-Jan-01 11:46
Masoud Samimi21-Jan-01 11:46 
If mean you don't want the default document to load on startup, then this is the code:

   // Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

   // ADD THIS LINE RIGHT HERE! ( AFTER the above lines!)
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;


Add it in the InitInstance() of your apps class, and then make your selection dialog load and prompt user to select whatever they wanted! Smile | :)


"Socrates is a man. All men are mortal.
Therefore Socrates is mortal."


-- Aristotle (syllogism)

Cheers
Masoud Samimi Go!
QuestionHow ???.... ??? :confused: Pin
21-Jan-01 9:16
suss21-Jan-01 9:16 
AnswerRe: How ???.... ??? :confused: Pin
21-Jan-01 9:36
suss21-Jan-01 9:36 
AnswerRe: How ???.... ??? :confused: Pin
Michael Dunn21-Jan-01 9:54
sitebuilderMichael Dunn21-Jan-01 9:54 
GeneralRe: How ???.... ??? :confused: Pin
21-Jan-01 12:00
suss21-Jan-01 12:00 
GeneralRe: How ???.... ??? :confused: Pin
Erik Funkenbusch22-Jan-01 12:19
Erik Funkenbusch22-Jan-01 12:19 
Questionhow do you send a command line properly? Pin
mrtoast21-Jan-01 3:25
mrtoast21-Jan-01 3:25 
AnswerRe: how do you send a command line properly? Pin
21-Jan-01 5:32
suss21-Jan-01 5:32 
GeneralRe: how do you send a command line properly? Pin
mrtoast21-Jan-01 9:07
mrtoast21-Jan-01 9:07 
GeneralRe: how do you send a command line properly? Pin
Chris Losinger21-Jan-01 9:16
professionalChris Losinger21-Jan-01 9:16 
GeneralRe: how do you send a command line properly? Pin
Tim Deveaux21-Jan-01 13:49
Tim Deveaux21-Jan-01 13:49 
QuestionWhat are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 14:08
suss20-Jan-01 14:08 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 21:11
suss20-Jan-01 21:11 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
22-Jan-01 12:19
suss22-Jan-01 12:19 
GeneralSave & Load Pin
20-Jan-01 8:02
suss20-Jan-01 8:02 
GeneralRe: Save & Load Pin
Christian Graus20-Jan-01 13:59
protectorChristian Graus20-Jan-01 13:59 
GeneralRe: Save & Load Pin
AlexMarbus21-Jan-01 12:13
AlexMarbus21-Jan-01 12:13 
GeneralRe: Save & Load Pin
Christian Graus21-Jan-01 12:35
protectorChristian Graus21-Jan-01 12:35 

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.