Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu accelerators and glyphs

Status
Not open for further replies.

jfitter

Programmer
May 3, 2001
2
AU
I find this problem curious and a great waste of time. Using Win2KPro and BCB5, I have a main menu driven by an action list. Accelerators work normally and the underscores are displayed as expected. If I then attach an image list to enable glyphs for any or all menu items, the underscores are lost from all of the menu items, both in the designer and at run time. The problem applies to all drop down menus which have any glyphs. Any dropdown without any glyphs displays the accelerators normally. Normally displayed menus and faulty menus can exist within the same application.
This behaviour is also evident in commercial products which use glyphs on menu items, so it seems not to be a compiler issue.
Possibly related, if the Window menu has three items only then the open mdi filenames are appended to this menu as expected. If there are not three items then no open filenames are displayed at all. This behaviour is not exhibited when the sample mdi editor application is loaded and built. It is a problem with my current commercial product whose roots go back a few years to BCB3.

Has anyone seen such behaviour or have any idea where I should start searching for a solution?
 
I have the same problem here, but I didn't really notice it untill I read this... I too have a menu with glyphs and there are no underscores, wheather is be with or without glyphs!

If you find a solution, or a way to bypass eventual windows related problems lete me know!! My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top