![]() |
Way to receive any keystrokes from COM Add-in?
Hello everybody!
I'm developing a COM Add-in and it should run some routines in response on keystrokes (like CTRL+C etc). So I decided to use subclassing to resolve my problem. Using Spy++ I identified that WM_KEYDOWN, WM_SYSKEYDOWN messages are sent to EXCEL7 window (workbook window). So I tried to subclass that one. But the problem I faced is that my new window procedure receives WM_KEYDOWN, WM_SYSKEYDOWN messages only in case key combination is not used by Excel and not assigned to macro by OnKey method. 1) Is there any way to receive any keystrokes from COM Add-in? 2) Is there any way to override key combinations used by Excel and defined by OnKey method? Any help would be greatly appreciated, thanks!!!! Shahin |
Way to receive any keystrokes from COM Add-in?
Any ideas?
|
Way to receive any keystrokes from COM Add-in?
Hi, any ideas?
Shahin |
All times are GMT +1. The time now is 07:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com