Hotkey trapping in ppt

D

Dhanush

Hi,

I am trying to trap hotkeys in powerpoint window.

Althouth I am not an expert in MFC I somehow managed to write a code
using,
Registerhotkey, windowproc,and findwindow.

But still i have some doubts, and It would be great if someone could
help me with it.

1. I dont want a system wide hotkey, the hotkey should be trapped only
when Ppt is the active window.
How do I do that?

2. Which is the best way to clean-up (unhook) the hotkeys.

3. Should I sub-class the powerpoint window or some other window (or
something else).


Thanks in advance

Dhanush
 
Top