Path: 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: Distribution: comp Organization: Clemson University, Clemson, SC Lines: 20 From article , 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." =============================================================================