Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: android@ccwf.cc.utexas.edu (Andy Wilks) Newsgroups: comp.lang.c++ Subject: Re: show profile Message-ID: <50726@ut-emx.uucp> Date: 18 Jun 91 05:57:35 GMT References: <1991Jun17.171243.579@gw.wmich.edu> Sender: news@ut-emx.uucp Reply-To: android@ccwf.cc.utexas.edu (Andy Wilks) Organization: The University of Texas at Austin Lines: 27 In article <1991Jun17.171243.579@gw.wmich.edu> 32lim@gw.wmich.edu writes: )Hello all, ) Here's a Turbo C++ question for you guys. ) How do I scan for a function key? ) including a CTRL , ALT and SHIFT and then the FUNCTION KEY ) I've tried the getch() but that doesn't seem to work. )so HELP! Check the keyboard status bits at absolute address 40:17h, or use BIOS int 16h, function AH=02. Output is return in AL, bit 2 is CTRL pressed. )--- )No signature necessary =) Why not??? /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/ * I don't express opinions, I just follow orders... (___) * / (o o) / * Andy Wilks One of the few .sig's-> /-------\ / * / andy@fiskville.mc.utexas.edu with ASCII livestock. / | ||O / * android@ccwf.cc.utexas.edu * ||,---|| * / University of Texas at Austin ^^ ^^ / * copyright (c) 1934,1942,1961,1990,1991 BEVO * /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/