Computing.Net > Forums > Programming > C++: Fullscreen

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

C++: Fullscreen

Reply to Message Icon

Original Message
Name: Dave Henry
Date: July 9, 2002 at 22:30:04 Pacific
Subject: C++: Fullscreen
Comment:

How can I make the console fullscreen when programming in C++?


Report Offensive Message For Removal


Response Number 1
Name: Dave Henry
Date: July 9, 2002 at 22:32:35 Pacific
Reply: (edit)

I understand that my previous post may have been confusing, let me restate: What is the C++ command used to make the console fullscreen when compiled?


Report Offensive Follow Up For Removal

Response Number 2
Name: cup
Date: July 10, 2002 at 01:20:35 Pacific
Reply: (edit)

Which version of windows are you using. I don't know if you can do this on 9x/ME. On NT/XP

1) Run the program once in windowed mode
2) Change the properties to full screen
3) When it asks, how the properties should be saved, click on the option - for all programs of the same name or some similar wording.


Report Offensive Follow Up For Removal

Response Number 3
Name: cup
Date: July 10, 2002 at 02:03:56 Pacific
Reply: (edit)

As far as I know, there isn't an API call to do this but my knowledge of things windows is very limited.


Report Offensive Follow Up For Removal

Response Number 4
Name:
Date: July 10, 2002 at 20:21:30 Pacific
Reply: (edit)

i don't think you can do that...the size of the window is determined by the OS that runs it


Report Offensive Follow Up For Removal

Response Number 5
Name: Gah
Date: July 11, 2002 at 11:43:14 Pacific
Reply: (edit)

Try hitting alt+enter



Report Offensive Follow Up For Removal


Response Number 6
Name: latex
Date: July 15, 2002 at 17:45:16 Pacific
Reply: (edit)

keybd_event(VK_MENU,0x38,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);

seems to work, althoug im at a loss as to why...anyone?


Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software