Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!van-bc!rsoft!mindlink!a1463 From: Bartholomew_Siemens@mindlink.bc.ca (Bartholomew Siemens) Newsgroups: comp.os.msdos.programmer Subject: Re: Reading extended keys Message-ID: <6263@mindlink.bc.ca> Date: 14 Jun 91 01:05:23 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 24 In msg. userRPCP@mts.ucs.UAlberta.CA (Eugene Mah) writes: > I wonder if anyone out there can help me. I'm using Borland Turbo C++ v1.01 > and I need to be able to detect when an extended key is pressed ie. F1-F10, > Shift F1-F10, etc. > > Can anyone out there tell me how to do this? It's easy enough in Borland's > Turbo Pascal. Thanks a bunch in advance. It's also quite easy in any of the Borland C products -- whether that be Turbo C 2.0 or Borland C++ 2.0. Check out BIOSKEY in your manual. In MSC5.0 check out _BIOS_KEYBRD. If you're doing it with some other compiler with MS-DOS use a DOS interrupt function. I've not worked in any other environment, so I have no idea about anything else. bart (not simpson) -- ----------------------------------------------------------------------- Disclaimer: navahoe -- I am exactly who I am and I speak that! rsoft!mindlink!Bartholomew_Siemens@van-bc.UUCP -----------------------------------------------------------------------