Results 1 to 8 of 8

Thread: Keyboard shortcuts

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    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)

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Keyboard shortcuts

    What scope? Just your application? If so, where is Shift+F9 being set in the first place? A menu perhaps?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Keyboard shortcuts

    Quote Originally Posted by LaVolpe View Post
    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)

  4. #4
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,624

    Re: Keyboard shortcuts

    What do you want Shift+ F9 to do? Open Search in the IDE, or something else?

  5. #5
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  6. #6

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Keyboard shortcuts

    Quote Originally Posted by SamOscarBrown View Post
    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)

  7. #7
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  8. #8

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Keyboard shortcuts

    Quote Originally Posted by LaVolpe View Post
    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
  •  



Click Here to Expand Forum to Full Width