Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Michael D Mellinger
Wed, 31 Oct 1990 03:29
ALT and CTRL keys
Author: Michael D Mellinger
Date: Wed, 31 Oct 1990 03:29
Date: Wed, 31 Oct 1990 03:29
7 lines
681 bytes
681 bytes
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
Re: ALT and CTRL keys
Author: 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." =============================================================================
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads