Click to See Complete Forum and Search --> : to trap key combinations ???


Benjamins
April 14th, 2003, 08:45 AM
hi,

how to trap Ctrl+ALt+anyChar (combination) in a SDK based dialog application.

bens

RockNix
April 15th, 2003, 05:23 AM
use an ACCELERATOR ... this will translate any defined key-combination to a simple message passed to your application through WM_COMMAND ...

see functions:

LoadAccelerator()
TransmitAccelerator()
.
.
.

if you are using visual studio there is a way to create an accel-table with the reaourcen editor.