On Wed, Aug 29, 2012 at 3:50 PM, Cody <codyprec...@gmail.com> wrote:
> On Wed, Aug 29, 2012 at 6:45 AM, Ram Rachum <r...@rachum.com> wrote:
> > Doesn't work.
> What doesn't work?
> The ord function certianly returns the character codes of those characters.
> If thats not what your looking for then I don't know what "Does anyone
> have a clue what their codes are?" means and you may want to
> elaborate further.
On Wed, Aug 29, 2012 at 7:52 AM, Ram Rachum <r...@rachum.com> wrote:
> Sorry, I meant codes in the context of setting a global hotkey. i.e., the
> codes that I need to pass to RegisterHotKey.
> On Wed, Aug 29, 2012 at 7:52 AM, Ram Rachum <r...@rachum.com> wrote:
>> Sorry, I meant codes in the context of setting a global hotkey. i.e., the
>> codes that I need to pass to RegisterHotKey.
On Wed, Aug 29, 2012 at 8:38 AM, Andrea Gavana <andrea.gav...@gmail.com> wrote:
> On 29 August 2012 15:20, Cody wrote:
>> On Wed, Aug 29, 2012 at 7:52 AM, Ram Rachum <r...@rachum.com> wrote:
>>> Sorry, I meant codes in the context of setting a global hotkey. i.e., the
>>> codes that I need to pass to RegisterHotKey.
> On Wed, Aug 29, 2012 at 8:38 AM, Andrea Gavana <andrea.gav...@gmail.com> wrote:
>> On 29 August 2012 15:20, Cody wrote:
>>> On Wed, Aug 29, 2012 at 7:52 AM, Ram Rachum <r...@rachum.com> wrote:
>>>> Sorry, I meant codes in the context of setting a global hotkey. i.e., the
>>>> codes that I need to pass to RegisterHotKey.
>> Or at least I can't see any Windows-specific remarks on that method.
> Did you check the remarks section of that documentation in your link ;-)
"""
Note Use EVT_HOTKEY(hotkeyId, fnc) in the event table to capture the
event. This function is currently only implemented under Windows. It
is used in the Windows CE port for detecting hardware button presses.
"""
From what I understand, it appears you can register a hotkey on any
platform but you can handle the event only on Windows. Very funny (and
useful) indeed :-)
> > On Wed, Aug 29, 2012 at 8:38 AM, Andrea Gavana <andrea.gav...@gmail.com>
> wrote:
> >> On 29 August 2012 15:20, Cody wrote:
> >>> On Wed, Aug 29, 2012 at 7:52 AM, Ram Rachum <r...@rachum.com> wrote:
> >>>> Sorry, I meant codes in the context of setting a global hotkey. i.e.,
> the
> >>>> codes that I need to pass to RegisterHotKey.
> >> Or at least I can't see any Windows-specific remarks on that method.
> > Did you check the remarks section of that documentation in your link ;-)
> """
> Note Use EVT_HOTKEY(hotkeyId, fnc) in the event table to capture the
> event. This function is currently only implemented under Windows. It
> is used in the Windows CE port for detecting hardware button presses.
> """
> From what I understand, it appears you can register a hotkey on any
> platform but you can handle the event only on Windows. Very funny (and
> useful) indeed :-)