PreTranslteMessage()

sampathkambar's Avatar, Join Date: Jan 2008
Light Poster
Hi,

I want to implement keyBoard shortcuts like ( Alt+p,Alt+L...).
I hav implemented a dialog based appplication.And i want to implement those shortcuts for my controls on dialog box.

Kindly hellp.
Thanks in advance.

Rgds,
Sampath
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have 2 options

1. Go for the keypress / Keydown event
2. Handle the WndProc for the Keyboard events
0
sampathkambar's Avatar, Join Date: Jan 2008
Light Poster
Thanks for ur reply...

I got that in PreTranslateMessage() only.....
Only i needed to check is whether it is WM_SYSKEYDOWN or WM_KEYDOWN....



Rgds,
Sampath