closing a modeless form when acad closes

Started by andrew, February 25, 2010, 05:56:05 AM

Previous topic - Next topic

andrew

right now my modeless form will stay open when i close acad completely
is there a way to have the modeless form close when acad closes
or should i redefine the close command to send the close form command to the modeless form


Fred Tomke

Hi, andrew, since the loaded OpenDCL library will be destroyed when AutoCAD is closing/crashing, the modeless form will be closed, too.
Have a look into the taskmanager, if the acad.exe is still listed in the process list.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

BazzaCAD

I think he means when he closes all his DWG's but Acad is still open in a NoDoc state.
If that's the case Andrew, then have a look at the "OnEnteringNoDocState" event for your Modeless form.

a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom