From: new6ie AT aol DOT com (New6ie) Newsgroups: comp.os.msdos.djgpp Subject: simulate_keypress(256) ?? Lines: 11 Message-ID: <1998070610302500.GAA24259@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com Date: 6 Jul 1998 10:30:25 GMT Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hiya, I'm writing a dos program with allegro's keyboard handler installed. I'd like for my program to be able to send the Alt+Esc keycode so as to minimize my full screen dos program to the win95 taskbar. I wrote a quick program (and ran it under dos 6.22) to get the keycode for Alt+Esc and found it to be "256", so I tried simulate_keypress(256); but as you can guess it didn't work. Where did I go astray? Any ideas? Thanks, JayD.