To: gambcl AT essex DOT ac DOT uk Subject: Re: How do you detect CTRL-CURSOR KEY??? From: pfulmek AT email DOT tuwien DOT ac DOT at (Paul FULMEK) Reply-To: pfulmek AT email DOT tuwien DOT ac DOT at Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Fri, 6 May 1994 07:48:33 +0000 >>>> 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. I'm using the CTR-ALT-SHIFT-Key combinations and MOUSE-actions in graphics mode with the MouseGetEvent(FLAGS,&Event)-function of LIBGRX. I'm not really sure, but I think You get different Event.key-return-values for all combinations with the cursor keys except for SHIFT-cursor-key, which returns the same value as for the plain cursor-key. Paul -- Technische Universitaet Wien Institut fuer Werkstoffe der Elektrotechnik Dipl.-Ing. Paul FULMEK Tel. (+43 222) 58801/3955 FAX: (+43 222) 50 41 587 Gusshausstrasse 27-29 Austria - 1040 WIEN