View Single Post
Join Date: Jan 2008
Posts: 45
Reputation: Icebone1000 is an unknown quantity at this point 
Solved Threads: 0
Icebone1000's Avatar
Icebone1000 Icebone1000 is offline Offline
Light Poster

How set fullscreen under win 2000 pro(console)?

 
0
  #1
Nov 21st, 2008
Hi, i was tring to figure how set display mode to fullscreen under win2000, i saw at msdn that theres a SetConsoleDisplayMode, but that is for winXP +..

I tried
  1.  
  2. //sets the console window
  3. //to fullscreen
  4. void FullScreen(){
  5.  
  6. HANDLE consolehandle;
  7.  
  8. int sysmetrics_x=GetSystemMetrics(SM_CXFULLSCREEN);//get full width
  9. int sysmetrics_y=GetSystemMetrics(SM_CYFULLSCREEN);//get full height
  10.  
  11. COORD full_size;
  12. full_size.X= sysmetrics_x;
  13. full_size.Y= sysmetrics_y;
  14.  
  15. consolehandle=GetStdHandle(STD_OUTPUT_HANDLE);
  16.  
  17. SetConsoleScreenBufferSize(consolehandle, full_size);
  18.  
  19. }// F FullScreen

But that really doesn't set fullscreen mode...
o.o theres a special function for it?
Reply With Quote