Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting Screen Mode in Console Apps

Status
Not open for further replies.

gjraynor

Programmer
Oct 31, 2001
12
0
0
AU
Win32 and/or MFC Console Apps. How do you programmatically:-
1. Detect if running in "Full screen" mode?
2. Detect if "Zoomed" to Max Window?
3. Change the Window rectangle size to a proportion of max screen?
4. Detect if running under a DOS .BAT file?
 
Wow, i have no idea if you can do any of those things. I have not worked with the Console API since before Windows 2000.

I have seen that many functions were added for Win2k and XP, like getting the actual Window Handle (HWND) so perhaps some of your requirements will be possible.

I don't think any of those things are possible with the older OS's.

sorry i couldn't help more.

-pete
 
Take a look at the Console Reference in MSDN under the Platform SDK documentation. You should find all you need there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top