Autodesk ObjectARX
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
.Net MDI Aware
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
71 Views, 3 Replies
05-23-2012 08:32 AM
How do I make a .net application MDI aware. In ObjectArx, acrxRegisterAppMDIAware(...) is used. Is there an equivalent method in .Net? I am using VS 2010 for AutoCad 2012. Any ideas?
Mike
Re: .Net MDI Aware
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 09:34 AM in reply to:
mbujak
All .NET applications are MDI aware, so there is no need to notify AutoCAD to that effect.
--
Owen Wengerd
ManuSoft
Owen Wengerd
ManuSoft
Re: .Net MDI Aware
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 09:53 AM in reply to:
owenwengerd
Thanks Owen. After you have replied, I thought it must be something else so I checked the SDI setting in Autocad and it was set to (1). I set it manually to (0) and all works fine. Is there a way to set this variable value in .net to ensure MDI awareness?
Mike B
Re: .Net MDI Aware
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 10:38 AM in reply to:
mbujak
You can add code to your application that checks SDI at load time and refuses to run when SDI is set to 1, but you can't (and shouldn't even if you could) reliably switch SDI mode.
--
Owen Wengerd
ManuSoft
Owen Wengerd
ManuSoft
