Re: Most significant bit in WM_COMMAND wparam

From: jeff (msnews.x.jsd_at_xoxy.net)
Date: 02/07/05


Date: Mon, 7 Feb 2005 11:21:58 -0800

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

" Just Me" <groups@a-znet.com> wrote in message news:OYg%23tmHDFHA.628@TK2MSFTNGP15.phx.gbl...
> 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



Relevant Pages

  • Re: Most significant bit in WM_COMMAND wparam
    ... > I'd guess that the purpose is to avoid sign extension that would result in ... > division operation. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Jews need to be "perfected" ??
    ... even notice that the first sentence refers to the *group's purpose*. ... lacks value if we are to avoid discussing open political anti-Semitism ... but that political anti-Semitism is on-topic for the group. ... Do something today about the Darfur Genocide ...
    (soc.culture.jewish.moderated)
  • Re: Legality of offering transcription service from LP to digital
    ... violation of that purpose. ... An extension, not a violation. ... The laws may have been passed as Copyright ...
    (rec.audio.pro)
  • Re: An approach for n-bit int. / m-bit ext. scanners (was: Re: Sprintscan 35+, 10 bits vs 8
    ... you're really being captious on purpose now. ... Sorry, I just can't avoid ... very clearly stated that I had given up trying to convince you of ... but related (i.e. the orange mask stuff) that doesn't features complicated ...
    (comp.periphs.scanners)
  • Re: Jews need to be "perfected" ??
    ... but that political anti-Semitism is on-topic for the group. ... then the *group* had no purpose. ... desire to avoid contact with anyone outside their group and the ... including repeating slander against me. ...
    (soc.culture.jewish.moderated)