Underlined ALT keys in XP?

This is a discussion on Underlined ALT keys in XP? within the Windows Programming forums, part of the Platform Specific Boards category; I was wondering if anyone has run into this problem with XP and how they were able to fix it. ...

  1. #1
    Registered User purple's Avatar
    Join Date
    Mar 2002
    Posts
    28

    Underlined ALT keys in XP?

    I was wondering if anyone has run into this problem with XP and how they were able to fix it.

    Here is a sample menu entry in my resource file if someone could tell me how I can fix it so it displays the underlined ALT keys.

    I'm pretty new to window creation, so if I'm doing something completely wrong please be kind...heh

    Code:
    IDR_FILEMENU MENU
    BEGIN
        POPUP "&File"
        BEGIN
            MENUITEM "E&xit", ID_FILE_EXIT
        END
    
       POPUP "&Help"
       BEGIN
          MENUITEM "&About", ID_HELP_ABOUT
          MENUITEM "&Other", ID_HELP_OTHER
       END
    END

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    50
    Ahhhhhhhh. This isn't a problem with your code, this is a style issue in XP.

    XP automatically removes the underlines from ALT keys.

    go to

    This msdn site and look for something called SPI_SETKEYBOARDCUES.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with program
    By HAssan in forum C Programming
    Replies: 8
    Last Post: 06-10-2007, 09:05 PM
  2. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  3. Windows XP regression over time
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-17-2002, 10:49 AM
  4. code for Alt + Tab keys
    By Sumir in forum Windows Programming
    Replies: 2
    Last Post: 10-12-2002, 04:49 AM
  5. arrow keys, ctrl and alt keys
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 04-25-2002, 04:53 PM

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