I have created a program in c++ that doesn’t have any GUI. When this program stars windows shown a spinning ball for about 5 seconds.
Is there any way to remove this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not completely sure, but I think it goes away if you create a top-level window. Most Windows applications intended to run from the GUI, should create a top-level window, even if they aren’t intending to make it visible (Don’t call ShowWindow ).
Also, you probably want to recieve some types of notifications which Windows sends to top-level windows (at least a close command when the user logs off etc).
And at some point, you’ll probably want to install a notification icon, I think it’s necessary to have a top-level window for the tray notification area to work (at least it was when I last used this interface in 1996).
I think anything intended to run from the GUI should create a window, even if it’s an invisible one.