Subj : Re: CTRL key To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Sat Jul 17 2004 09:21 am mike wrote: >> Are you trying to create a shortcut in your menu bar? If so then the code >> would look something like this... > >This is exactly what i'm trying to do. however the & is for the ALT key. my >menu is setup like this in my resource file (see below). pressing CTRL-A >doesn't do anything. however if i press ALT-F to activate the File Menu and >then i press 'a', i get the action as if i clicked File->Add. Why not intercept WM_CHAR or WM_KEYDOWN? .