Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GLCtrl questions
Re: GLCtrl questions [message #28722 is a reply to message #28706] |
Mon, 13 September 2010 21:01 |
|
cbpporter wrote on Mon, 13 September 2010 11:52 | 3. How can I make my application full screen and supply a resolution? Also, is it possible for OpenGL in fullscreen mode to use full/real hardware accelerated page swapping (not just hardware accelerated bliting)?
|
281264 wrote on Mon, 13 September 2010 20:01 | 3.- As long as you are able to create a window without borders, capable to occupy the whole screen (which is not related with OpenGL), then OpenGL will occupy the full screen.
BTW I am interested in working with a TopWindow in U++ capable to occupy the full screen, i.e. to use the screen space used by the lower Windows toolbar; any hint how to do it?
|
To get a full-screen window, there is method TopWindow::FullScreen() (surprisingly ). Just make your GlCtrl filling the whole window and you get what you want, in the resolution currently set on the monitor.
To change the resolution, I'm afraid you'd have to go low-level. Not sure if there is some way to do it using OpenGL. I remember switching VGA modes using inline assembler (very long ago, in dos programs written in pascal, but it still works sometimes, at least on win XP). I'm not sure what is the current situation in modern OSes.
Honza
Honza
|
|
|
|
|
GLCtrl questions
By: cbpporter on Mon, 13 September 2010 11:52
|
|
|
Re: GLCtrl questions
By: 281264 on Mon, 13 September 2010 20:01
|
|
|
Re: GLCtrl questions
By: cbpporter on Mon, 13 September 2010 20:53
|
|
|
Re: GLCtrl questions
By: koldo on Mon, 13 September 2010 22:30
|
|
|
Re: GLCtrl questions
By: mrjt on Tue, 14 September 2010 16:35
|
|
|
Re: GLCtrl questions
By: cbpporter on Tue, 14 September 2010 16:53
|
|
|
Re: GLCtrl questions
By: cbpporter on Thu, 16 September 2010 14:28
|
|
|
Re: GLCtrl questions
By: mrjt on Thu, 16 September 2010 18:23
|
|
|
Re: GLCtrl questions
By: mrjt on Thu, 16 September 2010 18:35
|
|
|
Re: GLCtrl questions
By: cbpporter on Wed, 22 September 2010 13:53
|
|
|
Re: GLCtrl questions
By: cbpporter on Fri, 24 September 2010 12:22
|
|
|
Re: GLCtrl questions
By: 281264 on Mon, 27 September 2010 12:27
|
|
|
Re: GLCtrl questions
By: cbpporter on Wed, 29 September 2010 13:02
|
|
|
Re: GLCtrl questions
|
|
|
Re: GLCtrl questions
By: mrjt on Mon, 04 October 2010 12:00
|
|
|
Re: GLCtrl questions
By: dolik.rce on Mon, 13 September 2010 21:01
|
|
|
Re: GLCtrl questions
By: cbpporter on Mon, 13 September 2010 21:12
|
Goto Forum:
Current Time: Tue May 21 20:04:54 CEST 2024
Total time taken to generate the page: 0.01311 seconds
|