I have a modeless dialog box displaying drawing information. is there a way to detect when another drawing is active and update the dialog box to show the new drawings information?
You should be using a paletteset instead of a modeless window.
Also, google AutoCAD document events.