Hey, i have been making a program in c++ and it got to the part where i need to make a dialog box but i dont know how.
I want to make for example when you click on a botton it display's a dialog box or a second form and ask for example :"whats your name" and when you insert a name it send it to variable name.
I heard somewhere on the web that i need to use

Form:ShowDialog()

But i dont know where to begin i had a look at MSDN library but it did not help me much i even looked google but did not find anything so i hope i can get some help here.
Thanks.

Try this:

FORMNAME ^myform = gcnew FORMNAME();
myform->ShowDialog();