X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Goh, Yong Kwang" Newsgroups: comp.os.msdos.djgpp Subject: Checking if Ctrl, Shift key is pressed Date: Sat, 11 May 2002 16:10:22 +0800 Organization: Singapore Telecommunications Ltd Lines: 16 Message-ID: NNTP-Posting-Host: hs0368.singnet.com.sg X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com How do I check if the Ctrl, Alt and/or Shift key is pressed and held down? I can't use the getch() function if no other key is pressed. Thanks. -- Yong-Kwang Goh Singapore gohyongkwang AT hotmail DOT com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.360 / Virus Database: 199 - Release Date: 5/7/02