gooeyman
August 11th, 1999, 10:28 AM
I seem to have run into a bug...if at runtime I change the caption property of a menu with a shortcut key assigned, the shortcut key name is drawn on top of the menu caption; e.g.
if I set the Caption to "Cannot Undo" and the shortcut key was Ctrl+Z I get "Ctrl+Zot Undo". I am setting the caption in the click event of the top level menu (e.g. I am setting captions for "Undo" and "Redo" menu items in the "Edit" menu's click event.
Has anyone else seen this? Does anyone know of a workaround? I have searched the Microsoft Knowledge Base to no avail.
if I set the Caption to "Cannot Undo" and the shortcut key was Ctrl+Z I get "Ctrl+Zot Undo". I am setting the caption in the click event of the top level menu (e.g. I am setting captions for "Undo" and "Redo" menu items in the "Edit" menu's click event.
Has anyone else seen this? Does anyone know of a workaround? I have searched the Microsoft Knowledge Base to no avail.