Thread View: comp.os.ms-windows.programmer.tools
2 messages
2 total messages
Started by When the going gets Wierd, the W...
Fri, 22 Jan 1993 20:34
Feasibility: Dos Apps Under Window
Author: When the going gets Wierd, the W...
Date: Fri, 22 Jan 1993 20:34
Date: Fri, 22 Jan 1993 20:34
37 lines
1863 bytes
1863 bytes
DOS APPLICATION COMMUNICATION WITH WINDOWS
Windows 3.1 has this nasty habit of allowing itself to become suspended
whenever a "Dos" program is run maximized from the program manager. This
can become quite a nuisuance, since windows has stopped becoming multi-tasking
and now is single threaded.
Solution 1: Make sure that Dos programs are not run full screen. One can
hardly assume that the users will remember to do this.
Solution 2: Don't run Dos programs ... only use Windows Apps
Solution 3: Run windows under DesqView or OS/2
Solution 4: The Dos App is loaded with a batch file, which loads in a TSR
before the Dos App. This TSR would :
1. Determine if Windows was loaded
2. If Loaded, is windows active ?
3. If windows not active then the Dos App is in
Full Screen mode. Issue a software interupt
which will 'wake up' windows and put the
Dos App into a window.
The functionality of this is very similiar to pressing <ALT> CR after running
a Dos App, but, a program doing this automatically.
I would appreciate some feed back on this problem (at the risk of being
Flamed). From using VisBasic, I have written programs which can SendKeys from
a windows program to a Dos App by using the Clipboard. But this seems to be
exactly the opposite problem - how does a DOS program send a Key Sequence to a
windows program ... especially if the windows program manager is sleeping.
Thanks in advance !
Jim Neawedde
Re: Feasibility: Dos Apps Under Window
Author: When the going gets Wierd, the W...
Date: Tue, 26 Jan 1993 13:35
Date: Tue, 26 Jan 1993 13:35
18 lines
1220 bytes
1220 bytes
In article <1993Jan22.153424.9624@iccgcc.decnet.ab.com>, neawedde@iccgcc.decnet.ab.com (When the going gets Wierd, the Wierd turn PRO!!!) writes: > > DOS APPLICATION COMMUNICATION WITH WINDOWS > The functionality of this is very similiar to pressing <ALT> CR after running > a Dos App, but, a program doing this automatically. > > Does anyone know how to write a short program in "C" to simulate <alt>Enter? I would like to execute this under windows. I can write a program which stuffs <alt>enter into the keyboard buffer, but windows doesn't seem to see it. Also, using the API, how can one change the window running a dos program from Full screen to windowized ? Thanks in advanced - Jim Neawedde
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads