Re: Making an application-wide shortcut

new topic     » goto parent     » topic index » view thread      » older message » newer message

procedure onKeyDown_Screen(integer self, integer event, sequence parms)
    if parms[1] != VK_F1 then
        return
    end if
    if parms[2] != 0 then
        return -- One of the 'shift' keys was down.
    end if

    -- Do F1 processing.
    . . . 

end procedure
setHandler(Screen, w32HKeyDown, routine_id("onKeyDown_Screen"))

----------------
cheers,
Derek Parnell
----- Original Message ----- 
From: "aku saya" <akusaya at gmx.net>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, February 10, 2003 10:36 PM
Subject: Making an application-wide shortcut


> 
> I want to make an application-wide shortcut, such as F1 for help.
> But I looked on registerHotKey it is for ALT keys only.
> So how?
> 
> Thanks!
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu