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
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