AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Manual: Incorrect entry in List of Windows Messages

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Thu Mar 30, 2006 8:43 pm    Post subject: Manual: Incorrect entry in List of Windows Messages Reply with quote

In the list of values there is a duplicate:
Quote:

0x20A WM_MOUSELAST ( -> wrong)
0x20A WM_MOUSEWHEEL


WinUser.h defines them as:
Quote:

#define WM_MOUSEWHEEL 0x020A
#define WM_MOUSELAST 0x020D
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Mar 30, 2006 8:53 pm    Post subject: Reply with quote

Thanks; I'll fix that.
Back to top
View user's profile Send private message Send e-mail
shimanov



Joined: 25 Sep 2005
Posts: 612

PostPosted: Thu Mar 30, 2006 9:37 pm    Post subject: Reply with quote

First, WM_MOUSELAST does not seem to be documented. What is it?

Second, the associated value varies by Windows version:

winuser.h wrote:
#if (_WIN32_WINNT >= 0x0500)
#define WM_MOUSELAST 0x020D
#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSELAST 0x020A
#else
#define WM_MOUSELAST 0x0209
#endif
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Thu Mar 30, 2006 10:11 pm    Post subject: Reply with quote

I have no idea what it is either and couldn't find any real info on it - I only noticed because I searched the window list for the code for WM_MOUSEWHEEL and that was the first result.
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Thu Mar 30, 2006 10:56 pm    Post subject: Reply with quote

So, given its semi random nature, perhaps it is best just to remove it...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Mar 31, 2006 2:05 pm    Post subject: Reply with quote

My thoughts exactly, which is why I removed it. I also removed a couple others that are similar.
Back to top
View user's profile Send private message Send e-mail
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Fri Mar 31, 2006 3:21 pm    Post subject: Reply with quote

Perhaps it would also be possible to divide the list up into some kind of sections? They seem to be mostly grouped together as it is, so I don't propose changing the order of the list, just adding some section names or simply leaving a few blank lines between each "section" - e.g. there's a section of messages that relate to the mouse, the clipboard, etc. It'd make it a lot easier to scan over the list, or to learn what is capable from messages for people new to them. (I had the idea after overlooking the WM_DEVICECHANGE message)
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Mar 31, 2006 3:24 pm    Post subject: Reply with quote

evl wrote:
Perhaps it would also be possible to divide the list up into some kind of sections?
Thanks for being volunteer for that... Razz
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Fri Mar 31, 2006 5:09 pm    Post subject: Reply with quote

I probably could try, although I'm somewhat new to messages still and would have to look up a lot to be sure. I don't think it would take Chris even a couple of minutes to make a few logical breaks in the list (at the minimum, or adding some section names)... and Chris said he took out some other entries from the list so no point trying anything yet with the current list.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Mar 31, 2006 5:29 pm    Post subject: Reply with quote

Thanks. I've added a few blank lines to break it into sections.

A reformatting of that list is on the to-do list. It's one of those things among dozens of other small tasks that tends to get deferred a lot.
Back to top
View user's profile Send private message Send e-mail
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Fri Mar 31, 2006 7:26 pm    Post subject: Reply with quote

That's great Very Happy I'm sure other people would offer to help too with these little documentation things if it frees up your time for the bigger tasks which us mere mortals are unable to do Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group