| View previous topic :: View next topic |
| Author |
Message |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Thu Mar 30, 2006 8:43 pm Post subject: Manual: Incorrect entry in List of Windows Messages |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Mar 30, 2006 8:53 pm Post subject: |
|
|
| Thanks; I'll fix that. |
|
| Back to top |
|
 |
shimanov
Joined: 25 Sep 2005 Posts: 612
|
Posted: Thu Mar 30, 2006 9:37 pm Post subject: |
|
|
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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Thu Mar 30, 2006 10:11 pm Post subject: |
|
|
| 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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Thu Mar 30, 2006 10:56 pm Post subject: |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Mar 31, 2006 2:05 pm Post subject: |
|
|
| My thoughts exactly, which is why I removed it. I also removed a couple others that are similar. |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Fri Mar 31, 2006 3:21 pm Post subject: |
|
|
| 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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Fri Mar 31, 2006 3:24 pm Post subject: |
|
|
| evl wrote: | | Perhaps it would also be possible to divide the list up into some kind of sections? | Thanks for being volunteer for that...  _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Fri Mar 31, 2006 5:09 pm Post subject: |
|
|
| 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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Mar 31, 2006 5:29 pm Post subject: |
|
|
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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Fri Mar 31, 2006 7:26 pm Post subject: |
|
|
That's great 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  |
|
| Back to top |
|
 |
|