Mail Archives: djgpp/1998/06/30/07:23:19
New6ie wrote:
> Hiya,
>
> I'm working on a dos program, using allegro's keyboard routines. I've
> studied the example given by Shawn Hargreaves on getting input FROM the
> keyboard, but I'd like to send a keycode from my program...Here's why: I'd
> like my dos program to be able to minimize itself to the win95 taskbar. If you
> type Alt+Esc, it minimizes itself very nicely. So how can I get my program to
> send the same signals as manually pressing Alt+Esc?
I'm not sure ... but try simulate_keypress() from Allegro API
Overwise, you should try lib (something about doswin, sorry I don't remember the
axact name) which floating in our NG
to be able to put msg in your dos-bix window queue.
--
____ ____
| \ / Dim Zegebart
____/____
Moscow Russia
WWW - http://www.geocities.com/siliconvalley/pines/7817
DZcomm - comm library for Allegro
Palantir - multitasking kernel for Allegro (based on PDMLWP)
- Raw text -