How many times do you plan on asking this? Did you look up the function?

<http://developer.apple.com/documentation/Carbon/Reference/ 
Carbon_Event_Manager_Ref/Reference/reference.html#//apple_ref/c/func/ 
RegisterEventHotKey>

The docs say virtual keycode. I doubt their mistaken, and I doubt the  
other Kevin would spend time trying to change the function just for  
kicks. Does anything in the example code manipulate the number that  
gets passed to the declare? If not, then the routine will interpret  
it as a virtual key code according to the docs. You don't mention  
anything about how you determined the key code is wrong. Does the  
example work as is without your modifications?

Kevin

On Apr 5, 2007, at 1:10 AM, Joshua Coventry wrote:

> I'm trying to make use of Kevin Ballard's HotKeyCallback example but
> am running into difficulties.
>
> Kevin says the example uses virtual key codes. I have a program which
> outputs virtual key codes when I press a key. For example, A is 0.
> But with the example, A is 1. This pretty much tells me the example
> can't be using virtual key codes...so *what* does it use.
>
> Unfortunately Kevin couldn't help me out since he doesn't code in RB
> anymore.
>
> http://www.tildesoft.com/Code.html#HotKeyCallback
>
> Any help would be appreciated.
>
> Many thanks,
> Joshua Coventry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to