🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Detecting full-screen DOS session

#2132
From: Jim Seidman
Date: Wed, 17 Apr 1991 04:59
19 lines
1253 bytes
Does anyone know a way to determine from an app if the screen is
currently displaying a full-screen DOS session?  (Of course I'm talking
386Enh here, since in standard mode a winapp wouldn't be running at all
while a DOS session was on the screen.)

Bonus question:  Can anyone guess why a program in a PeekMessage() loop
(which is yielding control) would go through the loop several times more
often when a (non-exclusive) DOS session was full-screen than when the
same DOS session was windowed and in the foreground?  (And no, the
PeekMessage loop isn't doing graphics or anything like that...)

Any help would be greatly appreciated!

-- 
Jim Seidman, Headland Technology, 46221 Landing Parkway, Fremont CA 94538
UUCP: ames!vsi1!headland!jls                 INTERNET: hsv3!jls@apple.com
"Love your enemy, smite your enemy, you still need an enemy!"
					-Joseph, in "Heart of the World"
Technical Details
Message-ID: <11748@jarthur.Claremont.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!jseidman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!jseidman
From: jseidman@jarthur.Claremont.EDU (Jim Seidman)
Newsgroups: comp.windows.ms.programmer
Subject: Detecting full-screen DOS session
Message-ID: <11748@jarthur.Claremont.EDU>
Date: 17 Apr 91 04:59:29 GMT
Organization: Headland Technology, Fremont, CA
Lines: 19