LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default How do I know if user is pressing a key from the CommandBarButton class

I am not real sure about this issue, but this link may help out...

http://support.microsoft.com/kb/108357

Mark Ivey

"Torben Laursen" wrote in message
...
I have a custom menu in Excel written in C#

Now I would like to check if a user is holding down the shift key when he
is clicking on one of my menu's.
I want to use this for hidden advanced features.
The function looks like this:
private void MI_EditUsingDatabase(CommandBarButton Ctrl, ref Boolean
CancelDefault)
{
bla bla
}

But how do I know if the user is pressing a key inside this function?

Torben


 
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
Error when returning user-defined class from "factory" class... George Excel Programming 5 October 2nd 07 05:58 PM
Creating a User Defined Class / Object Andrew Hall NZ Excel Programming 3 December 11th 06 10:27 AM
How does one create a delete property of a user defined class? [email protected] Excel Programming 6 June 28th 06 08:12 PM
User-defined type collection in class module Rob[_29_] Excel Programming 2 May 31st 06 06:02 PM
User Type vs Class - General question: Vacation's Over Excel Programming 5 October 19th 05 07:45 PM


All times are GMT +1. The time now is 06:41 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"