How to attach two windows? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to attach two windows?

In visual studio, I've made a 2 window form using c++ and I want the secoed form appear when I click a button, anyone can help?

5th Feb 2020, 10:53 AM
Moaaz Ibrahim
Moaaz Ibrahim - avatar
2 Antworten
0
Try: #include "nameofform.h" nameofform f2 = new form(); F2.showdialog();
5th Feb 2020, 10:21 PM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
A Azi A It didn't work unfortunately
6th Feb 2020, 9:45 AM
Moaaz Ibrahim
Moaaz Ibrahim - avatar