🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #763

Detecting DOS sessions in Windows

#763
From: Robert Nee
Date: Fri, 30 Nov 1990 14:22
10 lines
955 bytes
I have a question for all of you experts.  How can I determine if
a DOS application is running full screen under windows.  I am
writing a windows program that opens a window in the background but
I need to be able to determine if the user is in a full screen DOS
session first to prevent from dumping him back into windows.

I know how to check if the active window is a DOS window, by checking
it's class name.  I'm stumped after that.

Any help would be appreciated.  Thanks.
Technical Details
Message-ID: <133@cf_su20.cf_su10.Sbi.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!uunet!sbi!zeus!cf_su10!cf_su14!nee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!uunet!sbi!zeus!cf_su10!cf_su14!nee
From: nee@cf_su14.Salomon.Com (Robert Nee)
Newsgroups: comp.windows.ms.programmer
Subject: Detecting DOS sessions in Windows
Message-ID: <133@cf_su20.cf_su10.Sbi.COM>
Date: 30 Nov 90 14:22:33 GMT
Sender: news@cf_su10.Sbi.COM
Reply-To: nee@cf_su14.Salomon.Com (Robert Nee)
Organization: Salomon Brothers, NY
Lines: 10