OT: Win32 Help

Kenneth Brody kenbrody at bestweb.net
Fri Apr 15 11:01:36 PDT 2005


Quoting Fairlight (Fri, 15 Apr 2005 13:30:54 -0400):

> Anyone know the function used in the Win32 API to force a switch between
> console mode and regular windows mode?  More importantly, can it be
> tiggered by any application, or only the one that's actually in console
> mode (I could always find that out, given the syntax)?

I'm not sure what you mean by "console mode" versus "regular windows
mode".  AFAIK, a console window is simply another predefined window
class, which happens to include an API for writing text into it.  On
my XP and 2000 boxes, a console window is class "ConsoleWindowClass".
On my 98 box, the main window is class "tty", with the text area of
class "ttyGrab".

There is nothing "special" about a console window beyond the additional
console features provided by the class, and the fact that Windows will
automatically set up the window for you when starting a console app.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list