Better yet, you could hook on a focus event as well and check for the Window title before hooking.
From: Aaron Smith [mailto:[email protected]] Sent: Tuesday, November 09, 2010 2:20 PM To: [email protected] Subject: Re: Hooking a WE Hotkey Keyboard.RegisterHotkey takes a filterby parameter where you can specify the window you want the hotkey to work in. Aaron On 11/9/2010 4:14 PM, J.J. Meddaugh wrote: I'm looking for an example of a hotkey being hooked inside of a dialog box. WOuld I do a ConnectEvent to application and then see if the current window matches the window in the dialog, or is there a more efficient way? Basically, I want to hook the status bar hotkey while in the dialog. J.J> Meddaugh - ATGuys.com Your Assistive Technology Experts -- Aaron Smith Product Support Specialist * Web Development GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825 260-489-3671 * gwmicro.com To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team.
