Sign in to follow this  

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

This topic is 3660 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
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

This topic is 3660 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this