Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: converting regular c++ to Managed C++ Pin
Alex Korchemniy24-Dec-04 9:56
Alex Korchemniy24-Dec-04 9:56 
GeneralRe: converting regular c++ to Managed C++ Pin
Anonymous28-Dec-04 4:23
Anonymous28-Dec-04 4:23 
GeneralDLLHOST replacement? (IIS/ISAPI/C++) Pin
Peter Weyzen23-Dec-04 8:36
Peter Weyzen23-Dec-04 8:36 
GeneralMDI child frame windows size Pin
LeeeNN23-Dec-04 8:20
LeeeNN23-Dec-04 8:20 
GeneralStartup Location in Windows Desktop Pin
bitpusher23-Dec-04 8:12
bitpusher23-Dec-04 8:12 
GeneralRe: Startup Location in Windows Desktop Pin
Neville Franks23-Dec-04 9:11
Neville Franks23-Dec-04 9:11 
GeneralRe: Startup Location in Windows Desktop Pin
bitpusher23-Dec-04 11:01
bitpusher23-Dec-04 11:01 
GeneralRe: Startup Location in Windows Desktop Pin
Neville Franks23-Dec-04 13:03
Neville Franks23-Dec-04 13:03 
CCommandLineInfo::CCommandLineInfo() inits: m_nShellCommand =FileNew
This means ProcessShellCommand() will create an emtpy new document. This maybe causing the app window to display ealier than you want. Step through ProcessShellCommand() and see what it is doing. You may wnt to overide it and do your own thing or if you don't want an new document created add:

if ( cmdInfo.m_nShellCommand == CCommandLineInfo::FileNew )
    cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;


before calling: ProcessShellCommand().

Looking at the MFC source code in your editor is worthwhile.

Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
GeneralRe: Startup Location in Windows Desktop Pin
gamitech23-Dec-04 9:48
gamitech23-Dec-04 9:48 
GeneralMultiline CListView entry (report mode) Pin
bitpusher23-Dec-04 7:13
bitpusher23-Dec-04 7:13 
GeneralDialogBar Pin
Member 155875123-Dec-04 7:02
Member 155875123-Dec-04 7:02 
Generalboottime screen output (eg. checkdisk) Pin
e-sushi23-Dec-04 6:08
e-sushi23-Dec-04 6:08 
GeneralRe: boottime screen output (eg. checkdisk) Pin
Michael Dunn23-Dec-04 6:37
sitebuilderMichael Dunn23-Dec-04 6:37 
GeneralRe: boottime screen output (eg. checkdisk) Pin
e-sushi24-Dec-04 1:43
e-sushi24-Dec-04 1:43 
GeneralRe: boottime screen output (eg. checkdisk) Pin
WoutL23-Dec-04 8:05
WoutL23-Dec-04 8:05 
GeneralRe: boottime screen output (eg. checkdisk) Pin
e-sushi24-Dec-04 1:39
e-sushi24-Dec-04 1:39 
QuestionDoes this make sense? Pin
Turtle Hand23-Dec-04 5:37
Turtle Hand23-Dec-04 5:37 
AnswerRe: Does this make sense? Pin
Rick York23-Dec-04 5:59
mveRick York23-Dec-04 5:59 
GeneralRe: Does this make sense? Pin
Turtle Hand23-Dec-04 7:28
Turtle Hand23-Dec-04 7:28 
AnswerRe: Does this make sense? Pin
Maximilien23-Dec-04 6:00
Maximilien23-Dec-04 6:00 
Generalcompiler versions Pin
andyvinc23-Dec-04 5:11
andyvinc23-Dec-04 5:11 
GeneralRe: compiler versions Pin
Michael Dunn23-Dec-04 6:27
sitebuilderMichael Dunn23-Dec-04 6:27 
GeneralRe: compiler versions Pin
andyvinc23-Dec-04 6:54
andyvinc23-Dec-04 6:54 
GeneralRe: compiler versions Pin
Michael Dunn23-Dec-04 7:53
sitebuilderMichael Dunn23-Dec-04 7:53 
GeneralEnvironment Variables - Scope Pin
sweep12323-Dec-04 4:29
sweep12323-Dec-04 4:29 

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.