Author Topic: Multiple PointMonitorEventHandlers?  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

jmaeding

  • Bull Frog
  • Posts: 304
  • I'm just here for the Shelties.
Multiple PointMonitorEventHandlers?
« on: October 08, 2009, 12:19:16 PM »
I'm looking at use a PointMonitorEventHandler to ghost some things based on pointer data.
Do I have to worry about other progs that might also have PointMonitorEventHandlers subscribed to the Editor?
I know I should sub and unsub within my commands, but I'm wondering how careful I need to be when doing functions nested.
So i might be in a command that adds a handler that shows the entity type when cursor hovers and entity, then it runs a command within itself that adds a handler to show the entity length.
Am I playing with fire by nesting like that?
Or do the handlers fire in order they were added, allowing me to "build up" various effects from multiple handlers?

I would always detach them at end of each function at whatever level they were added, but what if I did want to leave one on?  I'm looking for rules and best practice with the PointMonitorEventHandler object, pls post a link if already discussed.
James Maeding

jmaeding

  • Bull Frog
  • Posts: 304
  • I'm just here for the Shelties.
Re: Multiple PointMonitorEventHandlers?
« Reply #1 on: October 13, 2009, 12:36:43 PM »
wow, I expected these to be a big deal in .net since lisp is limited in this area.
James Maeding