.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to open Modal MFC dialog in Managed C++
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
119 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
