Subj : Re: CTRL key To : borland.public.cpp.borlandcpp From : mike Date : Sun Jul 18 2004 09:52 pm > For Ctrl-X ........ > nVirtKey = 0x18 > lKeyData = 0x2d0001 > > For Ctrl-A...... > nVirtKey = 0x1 > lKeyData = 0x1e0001 > > For Ctrl-S...... > nVirtKey = 0x13 > lKeyData = 0x1f0001 Thanks Bob! One last question, for the different keys, do you know if there are constants defined? i was hoping so, but didn't know where they would be. this way the code would look much cleaner when i compare wParam and lParam. otherwise i guess i could comment it and compare it with the hex value.... mahalo mike .