Click to See Complete Forum and Search --> : Registerhotkey question


rdmehta
November 18th, 2003, 02:57 AM
Hi all,

I am trying to create a hotkey manager for Powerpoint, using Registerhotkey.

I have some nagging problems and will appreciate any help with it.

The hotkey defined is a system level hotkey, i.e., regardless of what application is active the message is always sent to PPT.

I also tried to reforward the message to the active application using

GetActivewindow . . .
and then
PostMessage . .

but the window handle from GetActiveWindow is always 0.

Can anyone please help me with these problems

Thanks
Rakesh