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

Started by
0 comments, last by Headkaze 16 years, 4 months ago
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.
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.

This topic is closed to new replies.

Advertisement