The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => WINDOWS.INC Project => Topic started by: Jimg on May 02, 2007, 03:20:46 PM

Title: WM_MOUSELAST
Post by: Jimg on May 02, 2007, 03:20:46 PM
Shouldn't WM_MOUSELAST = 02Ah ?

Since it's not an actual message in itself, but rather a bracketing message, i.e. to group mouse messages, you search from MOUSEFIRST to MOUSELAST, WM_MOUSELAST needs to be updated to reflect that more mouse messages have been added (WM_MOUSEWHEEL specifically).  Updating the value should have no effect on older code or for use on previous versions of Windows that do not contain the new message, because it will never be found as a message, and therefore not cause any problems.