Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GLCtrl questions
Re: GLCtrl questions [message #28724 is a reply to message #28722] |
Mon, 13 September 2010 21:12 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
dolik.rce wrote on Mon, 13 September 2010 22: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
|
I was trying to achieve the DirectX kind of fullscreen. You can have a small view, like 300x200 dedicated to DirectX and the rest normal Windows widgets. If you go fullscreen with a given resolution, your 3D widget will remain small and the rest of the widgets will still work.
VGA is dead . Anyway, you can't change the resolution that way for Windows applications. There may be a way with Windows API.
|
|
|
|
|
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: Fri May 03 20:52:06 CEST 2024
Total time taken to generate the page: 0.02725 seconds
|