[comp.windows.ms.programmer] Detecting DOS sessions in Windows

nee@cf_su14.Salomon.Com (Robert Nee) (11/30/90)

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.