152 Posted Topics

Member Avatar for TheWhite

First, if you want an IDE like Eclipse for C++ on Windows, you can do a couple of things: 1) use Eclipse - it has a C++ developers perspective you can use to code in C++. It can be set up to use Microsoft's C++ compiler or GNUs (via minGW …

Member Avatar for TheWhite
0
687
Member Avatar for Jennifer84

Jennifer, I believe what you want is a public function on Form2's class. For example, you can make a public function called "CloseForm" on Form2. Inside "CloseForm" you would call the close function: [CODE]this->Close();[/CODE] Then, from Form1, when your button is pressed, you would issue the call: [CODE]form2->CloseForm();[/CODE] Hope this …

Member Avatar for Jennifer84
0
224

The End.