What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] WM_KEYUP

Pages: (2): « First [ 1 ] 2 » Last »
[?] WM_KEYUP
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. [?] WM_KEYUP
Has anyone got the decimal or hex number I need to register the notification of the KeyUp Event? I couldn't get it to work so I tested it with WM_PAINT (5) and it was working fine.

I even set up a loop from 0 to 400 and tried seeing which ones were triggered on key press, but with no luck.
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2008 02:43 PM
Profile PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: [?] WM_KEYUP
code:
var WM_KEYUP =257;
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
08-04-2008 02:48 PM
Profile E-Mail PM Web Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [?] WM_KEYUP
WM_KEYUP 257 // 0x0101
08-04-2008 02:49 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] WM_KEYUP
I did try 257 (0x101), but it didn't seem to work. I'm trying to detect arrow key press though, would it be the same message?

EDIT: 1900th Post :p

This post was edited on 08-04-2008 at 02:52 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2008 02:50 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] WM_KEYUP
WM_KEYUP is 0x101

http://msdn.microsoft.com/en-us/library/ms646281(VS.85).aspx

WPARAM contains the virtual key that is pressed.
08-04-2008 02:53 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] WM_KEYUP
Ok, I'll have to give it another try when I get home from work
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2008 02:55 PM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [?] WM_KEYUP
http://www.groupsrv.com/dotnet/about52848.html
;)

0x101 doesn't work for me either. nothing comes up in the debug

This post was edited on 08-04-2008 at 03:51 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
08-04-2008 03:45 PM
Profile PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: [?] WM_KEYUP
Well, I am not sure (and could possibly be wrong!), but does your window you register for message notification has a child window (such as a control like a textbox) focused? I remember in this situation, the window itself won't process/receive WM_KEYUP.
08-04-2008 03:48 PM
Profile PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
O.P. RE: [?] WM_KEYUP
I'm not using a child window, I don't know about roflmao though
<Eljay> "Problems encountered: shit blew up" :zippy:
08-04-2008 04:06 PM
Profile PM Find Quote Report
effection
Full Member
***

Destroy The Runner

Posts: 135
Reputation: 4
– / Male / Flag
Joined: Sep 2006
RE: [?] WM_KEYUP
the arrow keys are system keys afaik so you need the system key up message which i cant remember right now
08-04-2008 05:38 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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