Closed Bug 613118 Opened 15 years ago Closed 15 years ago

WM_SYSCOMMAND doesn't properly filter wParam

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jimm, Assigned: jimm)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
According to MSDN: "In WM_SYSCOMMAND messages, the four low-order bits of the wParam parameter are used internally by the system. To obtain the correct result when testing the value of wParam, an application must combine the value 0xFFF0 with the wParam value by using the bitwise AND operator."
Attachment #491429 - Flags: review?(tellrob)
Assignee: nobody → jmathies
Comment on attachment 491429 [details] [diff] [review] patch Was this just you noticing we weren't following the spec or was there some buggy behavior you saw?
Attachment #491429 - Flags: review?(tellrob) → review+
(In reply to comment #1) > Comment on attachment 491429 [details] [diff] [review] > patch > > Was this just you noticing we weren't following the spec or was there some > buggy behavior you saw? Just noticed it, everything appears to be working fine for the commands we test for.
Attachment #491429 - Flags: approval2.0?
Attachment #491429 - Flags: approval2.0? → approval2.0+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: