🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1801

Re: how to distinguish betwee

#1801
From: Rob Ryan
Date: Wed, 23 Dec 1992 04:34
20 lines
974 bytes
In <1992Dec22.3151.2938@dosgate> chris.little@canrem.com (chris little) writes:

>...
>
>My question is how to determine if the modifier keys are down during a
>WM_LBUTTONDOWN message.

I'm entering this discussion a little late, so I apologize if I'm
misinterpreting your question but ...

When using WM_LBUTTONDOWN, checking the value of wParam will determine the
state of the shift, control, and middle or right mouse buttons.  Basically,
wParam will be the union of things like MK_CONTROL, MK_RBUTTON, MK_SHIFT,
and MK_MBUTTON, so check for those.

Hope this helps.

-- 
 Rob Ryan
    rryan@panix.com
Technical Details
Message-ID: <1992Dec23.043406.24762@panix.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!panix!rryan
References: <1992Dec22.3151.2938@dosgate>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!panix!rryan
From: rryan@panix.com (Rob Ryan)
Subject: Re: how to distinguish betwee
Message-ID: <1992Dec23.043406.24762@panix.com>
Date: Wed, 23 Dec 1992 04:34:06 GMT
Distribution: comp
References: <1992Dec22.3151.2938@dosgate>
Organization: Panix, NYC
Lines: 20