Can mouse interactions be disabled?

Is it possible to disable mouse interactions while an AddIn is trying to do something?  For example, while I'm in a tool state, I don't want to the left button to select new items, or bring up the pop-up toolbar.  I want complete control over mouse events.  Any ideas?

Thanks.

SolidworksApi macros