Article View: comp.os.os2.programmer
Article #1605Re: ALT and CTRL keys
From: lsalomo
Date: Wed, 31 Oct 1990 17:39
Date: Wed, 31 Oct 1990 17:39
20 lines
1230 bytes
1230 bytes
From article <Fslaad+2@cs.psu.edu>, by melling@cs.psu.edu (Michael D Mellinger): > > How can I determine if the ALT or control keys have been pressed using > MS C 6.0? I would like the routine to work for Windows 3.0 and OS/2. > Also, I want to be able to determine what other character has been > pressed in concert with the ALT or control key. > > -Mike You're window proc will receive a WM_CHAR with KC_ALT set in mp1 (I can't remember if it is high-word or low-word). Cheers, Q - the "Q"uestor for knowledge (, a degree, etc.) lsalomo@hubcap.clemson.edu ibmman@clemson.clemson.edu ============================================================================= "Gee Wally, I think there's something wrong with the Beaver." =============================================================================
Technical Details
Message-ID:
<11283@hubcap.clemson.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!hubcap!lsalomoReferences:
<Fslaad+2@cs.psu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!hubcap!lsalomo From: lsalomo@hubcap.clemson.edu (lsalomo) Newsgroups: comp.os.os2.programmer Subject: Re: ALT and CTRL keys Message-ID: <11283@hubcap.clemson.edu> Date: 31 Oct 90 17:39:12 GMT References: <Fslaad+2@cs.psu.edu> Distribution: comp Organization: Clemson University, Clemson, SC Lines: 20