creating multiple instances of a form
I am looking for a way to create multiple instances of a single form in c++. I am using Visual C++ 2008 edition. When i start a new Windows Forms Application it starts me with the needed .h and .cpp files.
As of right now the form.h file handles the majority of the processing and the main only contains:
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// Create the main window and run it
Application::Run(gcnew Form1());
I know the Run command only allows 1 form to execute at a time. What I am looking for is a way to create multiple instances of the form, based on a certain variables value preferably.
Re: creating multiple instances of a form
Re: creating multiple instances of a form