I have an MFC application which is calling a C++ .NET windows form (in managed mode). The form displays but it appears behind the calling MFC program.
How do I make this windows form appear in front of all other windows? I have tried using newDlg->BringToFront() but this does not work.
Form1 ^ newDlg = gcnew Form1();