.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to open Modal MFC dialog in Managed C++

0 REPLIES 0
Reply
Message 1 of 1
massoudshakeri
416 Views, 0 Replies

How to open Modal MFC dialog in Managed C++

Hi,

I have a simple mix-managed project, in which one managed and one unmanaged command is created. A simple Dialog derived from CAcUiDialog is added to the project. Both commands, create and show that dialog modelessly, and it works fine.

But when I change the code to create the dialog using DoModal() in both commands, the dialog shows for unmanaged command, but upon running the managed command, Autocad stalls.

How can I create a Modal unmanaged dialog in Managed command?

With thanks in advance

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost