.NET

.NET

Reply
Active Member
massoudshakeri
Posts: 8
Registered: ‎08-07-2009
Message 1 of 1 (206 Views)

How to open Modal MFC dialog in Managed C++

206 Views, 0 Replies
06-12-2012 03:18 PM

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

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.