www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/06/11:35:54

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Subject: Re: How do you detect CTRL-CURSOR KEY???
To: gambcl AT essex DOT ac DOT uk (Gamble C O)
Date: Fri, 6 May 1994 10:01:41 -0600 (CDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, wozzle!alane AT imageek DOT york DOT cuny DOT edu

> 	I am trying to detect when the user presses CTRL and a cursor key.
> 	I can detect a cursor key on its own but I don't know how to detect 
> the combination of CTRL and a cursor key.

One way to do this is to use the event library from CBGRX103.ZIP.  It 
records all keyboard events (with the associated flags) and mouse events
also if you would like it to.  The hook into GO32 for this custom int 9
handler already exists.  Maint5 contains enhancements to this code sent
by ARDI which allow you to monitor raw key events too (press and release of
ALT alone, for example).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019