Thread: Menu Item Caption - /a for right aligned Accelerator?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278

    Menu Item Caption - \a for right aligned Accelerator?

    I know that the tab character (\t) jumps the menu caption text into the next 'column', so all accelerators line up in the menu, but I heard that \a is supposed to right align any text that follows it, and this is not the case on my machine (MSVC++ 6.0, WinXP)... I know this is not a big deal, and some programs leave the accelerators left aligned in the menus, but WinXP definitely allows right alignment, as MSVC++ does this itself in its own menus.

    What is the proper escape sequence for right alignment within the menu captions, if it is not \a?

    Note: I have tried all the letters a..z watching the sample display in realtime, but have not compiled every one, so there remains a possibility that the realtime sample display is incorrect.
    Also: I have checked the resource file, and the resource editor is properly storing the \a sequence in it, so this is not the problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Immediate programming help! Please!
    By xMEGANx in forum C++ Programming
    Replies: 6
    Last Post: 02-20-2008, 12:52 PM
  2. Retail Outlet Managment System - the 4th
    By Presidentofusa in forum C Programming
    Replies: 3
    Last Post: 11-10-2007, 10:44 PM
  3. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM
  4. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM