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

C / C++ / MFC

 
AnswerRe: Load bitmaps dynamically Pin
Jijo.Raj1-Dec-08 21:38
Jijo.Raj1-Dec-08 21:38 
AnswerRe: Load bitmaps dynamically Pin
Hamid_RT1-Dec-08 23:31
Hamid_RT1-Dec-08 23:31 
QuestionHide Application in startup Pin
MsmVc1-Dec-08 18:34
MsmVc1-Dec-08 18:34 
AnswerRe: Hide Application in startup Pin
Rajesh R Subramanian1-Dec-08 19:33
professionalRajesh R Subramanian1-Dec-08 19:33 
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 
I understand your problem as this - how to identify whether the application is started during windows startup.

I think you've managed to start your application on startup, by adding under - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Well, in that case just pass a commandline argument /startup or something like that. So that when started, by checking the command line arguments, you can identify whether its started during windows startup or manually and can hide your main window accordingly.

Regards,
Jijo.

_____________________________________________________

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

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 
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 

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.