.Net MDI Aware

.Net MDI Aware

Anonymous
Not applicable
901 Views
3 Replies
Message 1 of 4

.Net MDI Aware

Anonymous
Not applicable

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

0 Likes
902 Views
3 Replies
Replies (3)
Message 2 of 4

owenwengerd
Advisor
Advisor

All .NET applications are MDI aware, so there is no need to notify AutoCAD to that effect.

--
Owen Wengerd
ManuSoft
Message 3 of 4

Anonymous
Not applicable

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

0 Likes
Message 4 of 4

owenwengerd
Advisor
Advisor

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
0 Likes