What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Cancelling/Inhibiting the default action of the TAB key?

Cancelling/Inhibiting the default action of the TAB key?
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Cancelling/Inhibiting the default action of the TAB key?
Try using:

code:
function OnEvent_ChatWndEditKeyDown(ChatWnd, KeyCode, CtrlKeyDown, ShiftKeyDown){
        if(KeyCode==0x09){
                KeyCode=0; //also try null or another value
        }
}



Tested it myself :S

I think Windows determines the function of the tab key and so you cannot stop it from sending the "TAB" message. It does say on MSDN that the tab key cannot be used as a hotkey, quite possibly for this reason

BTW - You should also check the state of CtrlKeyDown and ShiftKeyDown so you don't block Ctrl+Key or Shift+Key (if you don't already ;))
<Eljay> "Problems encountered: shit blew up" :zippy:
12-17-2006 01:19 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Cancelling/Inhibiting the default action of the TAB key? - by asdf007 on 12-16-2006 at 07:09 PM
RE: Cancelling/Inhibiting the default action of the TAB key? - by Spunky on 12-17-2006 at 01:19 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On