Adding Event Handler for Mouseclick to Project

S

Schlaubstar

Hello. I'wrote an Add-In (COM) in VB.NET for MS-Office that enables you to
get additional information to a selected cell, that is stored in a Microsoft
Access Database.

All is working fine, but the problem is that I use the Windows API to poll
for a mouseclick combined with a modifier key (KLICK+STRG) every 50 ms, which
is quite inefficient. It works but I'm not satisfied.

Is there any way to add an eventhandler that handles Mouseclicks to a
Project Session, like there is in Excel (before_DoubleClick) etc.? I then
would only need to get the assyncKeyState of my Modifier key, and everything
would be fine wirthout polling, but I can't figure out how to so so.

Thanks for any tips/ideas:
Sincerley: Schlaubstar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top