Jump to content
  • Advertisement
Sign in to follow this  
chrisliando

[.net] Trouble with Show Dialog method in Visual C++

This topic is 3999 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I am a beginner in Visual C++ Express Edition and I recently develop an application which consists of 3 forms. For the activation of the Form2 and Form3, I use ShowDialog. For the Form2 it was okay no problem, but Form3 was a bit strange because it was created as a new application in the taskbar. So beside the application I ran, there was another window which was Form3. The correct one should be like Form2 which did not create a new window, right? What is wrong? Thank you very much.

Share this post


Link to post
Share on other sites
Advertisement
Not 100% sure what your asking here, but there is a property called ShowInTaskbar you can set to false for it to not show in the taskbar.

Also ShowDialog() is a modal display of a form. So you can not return back to the form that opened it until it is closed. You can use Show() instead which will show the form but allow you to continue processing input on the form that opened it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!