Author Topic: DocActivated question  (Read 3110 times)

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
DocActivated question
« on: October 18, 2007, 09:24:00 AM »
I've got a dockable form with a treeview control.  When I close all open drawings the treeview is cleared (using the EnteringNoDocState event).  When I open or start a new drawing, the treeview remains empty....but I don't want it to.  I want it to repopulate itself.  I've got code in place for the DocActivated event, but nothing seems to happen when a new drawing is started or an existing drawing is opened.

Also, should I be loading the LSP within my ACAD.lsp so it's available with each drawing?  I'm confused on what the "best practices" would be for something like this.

Thanks (and yes, I've cross-posted at OpenDCL).