Launching c# dialog from c++ application

  • Thread starter Thread starter Nathan
  • Start date Start date
N

Nathan

Hi,
I need to launch a c# dialog from an application written in c++.
I'm running into the problem that the c# dialog behaves as if its a
different application. Clicking anywhere in the c++ application,
including the main window hides the c# dialog.
How do I get it to always stay on top of the main window?

Thanks a lot,
Nathan
 
Hi Nathan

I've seen this effect in at least two other windows programs (Delphi and
Java Swing). In both cases it was due to the parent of a modal dialog being
set to null, rather than being set to the window that launched the dialog.

Unfortunately I have no idea how to fix this in a C++/C# system

Regards

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top