-
June 11th, 2009, 09:58 AM
#1
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.
-
June 11th, 2009, 10:00 AM
#2
Re: creating multiple instances of a form
-
June 12th, 2009, 08:36 AM
#3
Re: creating multiple instances of a form
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|