OT: Windows console mode

Kenneth Brody kenbrody at bestweb.net
Mon Apr 18 12:20:23 PDT 2005


Quoting Fairlight (Mon, 18 Apr 2005 14:58:15 -0400):

> With neither thought nor caution, Kenneth Brody blurted:
> > I forget who was asking this last week, but...
> >
> > Windows XP and 2003 have new APIs for getting and setting the console
> > (ie: full-screen vs. windowed) mode, called (appropriately enough)
> > GetConsoleDisplayMode() and SetConsoleDisplayMode().
>
> Cool, and filed away, thanks!.  However, I'm still coding for -all-
> Windows from 95 upwards.  I'd want to be able to toggle it on any
> 'doze box.  What was the old API access for it?  Any idea?

Probably some undocumented function.

> The better question is where you looked up those two.

I was looking through the console API for other things, and came across
these new entries for XP/2003.

> If I had a reference to the API, it might prove handy.

Here is the URL of the MSDN page on console apps.  Note that microsoft.com
doesn't work well with Opera, unless I tell Opera to lie and say that it's
IE5.  (Someone told me that microsoft.com serves up broken CSS if you're
using Opera.)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/character_mode_applications.asp

>From there, "console reference" will give you a list of functions and
structs.

--
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