A tiny question about menu

This is a discussion on A tiny question about menu within the Windows Programming forums, part of the Platform Specific Boards category; I want to open or choose something on the menu by pressing Ctrl + letter, just like what IE do ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    85

    A tiny question about menu

    I want to open or choose something on the menu by pressing Ctrl + letter, just like what IE do (e.g. Ctrl + o to open )
    Is there any tutorial talking about it ?

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    You need to add 'accelerators' to your program. have a look at LoadAccelerator() and TranslateAccelerator() in MSDN

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Replies: 2
    Last Post: 03-05-2009, 09:25 AM
  3. Thoughts on Menu System for Book Inventory
    By curlious in forum C++ Programming
    Replies: 3
    Last Post: 09-29-2003, 03:32 AM
  4. quick question about C Dos text menu pgm i was doing
    By Shadow in forum C Programming
    Replies: 2
    Last Post: 09-16-2001, 10:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21