|
-
Nov 14th, 2014, 08:04 AM
#1
Keyboard shortcuts
Is it possible to reassign the hotkeys? For example, can I change Shift/F9 to some other unused combination?
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Nov 14th, 2014, 08:38 AM
#2
Re: Keyboard shortcuts
What scope? Just your application? If so, where is Shift+F9 being set in the first place? A menu perhaps?
-
Nov 14th, 2014, 08:52 AM
#3
Re: Keyboard shortcuts
 Originally Posted by LaVolpe
What scope? Just your application? If so, where is Shift+F9 being set in the first place? A menu perhaps?
I use Shift/F9 when debugging in the IDE. The reason for changing it is the IT department following company guidelines has recently installed a screen saving application in all the employees' computers whichit fires at that very key sequence.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Nov 14th, 2014, 08:58 AM
#4
Re: Keyboard shortcuts
What do you want Shift+ F9 to do? Open Search in the IDE, or something else?
-
Nov 14th, 2014, 09:07 AM
#5
Re: Keyboard shortcuts
Gotcha, you want to change the menu item in the IDE for 'quick watch'
Might be a good reason to create an custom add-in? This way every instance of IDE is updated & can be removed if no longer needed. The actual code needed, regardless, I believe will use these APIs. I may be able to play later
-
Nov 14th, 2014, 09:15 AM
#6
Re: Keyboard shortcuts
 Originally Posted by SamOscarBrown
What do you want Shift+ F9 to do? Open Search in the IDE, or something else?
To my surprise and embarrassment I must confess I actually meant Ctrl/F9 -rather than Shift/F9- which sets the execution point at a specific line... 
Sometimes I don't remember the exact sequence -whether it's shift or ctrl as in this case- so I simply find out by trial and error. Because the screen saver popped up I just didn't realize it was the wrong combination.
Still I'd like to know if it's possible to make this type of changes.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Nov 14th, 2014, 09:37 AM
#7
Re: Keyboard shortcuts
Haven't seen a way to get the existing accelerator table of a thread. So, the easy method may be a no-go. Here are a couple of other options & then the question begs to be asked: is it really worth it.
1. The IDE will be subclassed, likely in an add-on. RegisterHotKey could be used to override the system hotkey, but you'll need to trap the WM_HOTKEY message and either forward the desired keystroke to the IDE or call the menu item directly via WM_Command.
2. Hack vb6 & change the accelerator table entry directly
-
Nov 14th, 2014, 10:06 AM
#8
Re: Keyboard shortcuts
 Originally Posted by LaVolpe
Haven't seen a way...
Definitely not worth the effort, especially after my shift vs ctrl confusion.
Thank you.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|