Results 1 to 2 of 2

Thread: Toolbar button shortcuts

  1. #1

    Thread Starter
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391

    Toolbar button shortcuts

    Is there a way to assign shortcut keys to toolbar butons?
    If not is it possible to make them pneumonic like normal buttons?
    For example if one of my toolbar buttons' caption is &Save, is there a way to get it to trap ALT-S or CTRL-S without having to
    put it a whole bunch of _KeyDown / _KeyUp events?
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    I think the easiest way would be to "simulate" shortcuts.

    Create dropdown menu items that correspond to your toolbar buttons, and create shortcuts for the menu items. Have both click events to the same thing. You can also have the menu item programmatically depress the toolbar button.

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