Click here to Skip to main content
15,908,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hide Application in startup Pin
MsmVc1-Dec-08 19:50
MsmVc1-Dec-08 19:50 
GeneralRe: Hide Application in startup Pin
Rajesh R Subramanian1-Dec-08 19:53
professionalRajesh R Subramanian1-Dec-08 19:53 
GeneralRe: Hide Application in startup Pin
MsmVc1-Dec-08 20:29
MsmVc1-Dec-08 20:29 
AnswerRe: Hide Application in startup Pin
Jijo.Raj1-Dec-08 21:52
Jijo.Raj1-Dec-08 21:52 
GeneralRe: Hide Application in startup Pin
MsmVc1-Dec-08 22:07
MsmVc1-Dec-08 22:07 
RantRe: Hide Application in startup Pin
Rajesh R Subramanian1-Dec-08 22:12
professionalRajesh R Subramanian1-Dec-08 22:12 
GeneralRe: Hide Application in startup Pin
MsmVc1-Dec-08 22:33
MsmVc1-Dec-08 22:33 
GeneralRe: Hide Application in startup Pin
Jijo.Raj2-Dec-08 1:19
Jijo.Raj2-Dec-08 1:19 
Well, let me ask you how do you manage to start the application during windows startup? via registry or by creating shortcut in startup directory?

in both cases, you could pass the command line together with exe path. for instance,
c:\hello\hello.exe /startup


Well, in your application, you have to parse and check for the command line string - /startup. You could use the function GetCommandLine() to read the command line string. This link[^] will be useful.

[Edit]
Check out this link[^] too for parsing command line.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: Hide Application in startup Pin
MsmVc2-Dec-08 1:36
MsmVc2-Dec-08 1:36 
GeneralRe: Hide Application in startup Pin
Jijo.Raj2-Dec-08 1:49
Jijo.Raj2-Dec-08 1:49 
GeneralRe: Hide Application in startup Pin
MsmVc2-Dec-08 18:36
MsmVc2-Dec-08 18:36 
GeneralRe: Hide Application in startup Pin
Jijo.Raj3-Dec-08 6:37
Jijo.Raj3-Dec-08 6:37 
QuestionCxskinbutton Pin
pooja_friends1-Dec-08 18:05
pooja_friends1-Dec-08 18:05 
AnswerRe: Cxskinbutton Pin
_AnsHUMAN_ 1-Dec-08 19:07
_AnsHUMAN_ 1-Dec-08 19:07 
QuestionDesign for VC++ network application Pin
Member 57039051-Dec-08 17:04
Member 57039051-Dec-08 17:04 
Question[SOLVED] How to set cursor IDC_HAND when hover in CMyButton? [SOLVED] [modified] Pin
fantasy12151-Dec-08 15:25
fantasy12151-Dec-08 15:25 
AnswerRe: How to set cursor IDC_HAND when hover in CMyButton? Pin
bob169721-Dec-08 16:14
bob169721-Dec-08 16:14 
GeneralRe: How to set cursor IDC_HAND when hover in CMyButton? Pin
fantasy12151-Dec-08 19:42
fantasy12151-Dec-08 19:42 
AnswerRe: How to set cursor IDC_HAND when hover in CMyButton? Pin
bob169721-Dec-08 16:17
bob169721-Dec-08 16:17 
QuestionMFC dialog projects losing 3D look when converting to VS2008 Pin
jan_buelens1-Dec-08 12:45
jan_buelens1-Dec-08 12:45 
AnswerRe: MFC dialog projects losing 3D look when converting to VS2008 Pin
Stuart Dootson1-Dec-08 22:03
professionalStuart Dootson1-Dec-08 22:03 
GeneralRe: MFC dialog projects losing 3D look when converting to VS2008 Pin
jan_buelens2-Dec-08 5:40
jan_buelens2-Dec-08 5:40 
GeneralRe: MFC dialog projects losing 3D look when converting to VS2008 Pin
Stuart Dootson2-Dec-08 6:44
professionalStuart Dootson2-Dec-08 6:44 
Question[SOLVED] How to create exe or DLL with pdb location as just filename without path ? [modified] Pin
Defenestration1-Dec-08 11:22
Defenestration1-Dec-08 11:22 
AnswerRe: How to create exe or DLL with pdb location as just filename without path ? Pin
Defenestration6-Dec-08 12:41
Defenestration6-Dec-08 12: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.