Most significant bit in WM_COMMAND wparam

  • Thread starter Thread starter Just Me
  • Start date Start date
J

Just Me

I've seen this in examples:

Case User.WM_COMMAND

Select Case (m.WParam.ToInt32 And &H7FFF0000) \ &H10000



My question is why is the most significant bit ignored?

Does it have some significance or maybe not allowed





thanks
 
I'd guess that the purpose is to avoid sign extension that would result in the
division operation.
 
Back
Top