LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default 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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
receive one value using two or more criteria billdad Excel Worksheet Functions 2 June 11th 08 06:25 PM
HELP I like to receive e-mail in Excel [email protected] Excel Discussion (Misc queries) 1 July 16th 06 04:10 PM
VBA does not receive Excel Events EBenson Excel Programming 0 May 23rd 06 08:45 PM
How to receive e-mail using Excel VBA Leonardo Excel Programming 3 May 10th 06 12:44 AM
cant receive e- mail [email protected] New Users to Excel 0 March 27th 06 08:31 PM


All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"