Re: Problem in fullscreen under Vista
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Mon, 05 May 2008 16:50:24 -0400
I did too many of these ::GetSystemMetrics calls and I've had to go back and retrofit the
multimonitor support. Sorry I couldn't resolve the problem, but I've not tried high
performance graohics on Vista.
joe
On Mon, 5 May 2008 22:23:31 +0200, "Nord Pierre" <non> wrote:
You're right, i'll take care of multimon. Thanks for the tip (even if itJoseph M. Newcomer [MVP]
doesn't resolve my pb:)
Pierre
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> a écrit dans le message de
news: op5u14dae8ns55fo1lf4se44qcdiek4aq4@xxxxxxxxxx
No idea about the frame rate, but you should make sure you can run in a
multimonitor
environment; your calls give the size of the primary monitor, which may
not be the monitor
that is running the application.
joe
On Mon, 5 May 2008 10:37:34 +0200, "Nord Pierre" <non> wrote:
Joseph M. Newcomer [MVP]
Hello,
A new problem appear only on vista (works under XP) - When i create a
popup window with an opengl context and when i set this window to full
screen, like that :
SetWindowPos(&wndTop,0,0,GetSystemMetrics(CX_SCREEN),GetSystemMetrics(CY_SCREEN),SWP_SHOWWINDOW);
It works under XP and totaly explode the frame rate under Vista (stats
fall down from 150 fps to 20 fps), i've made many test and found that this
problem does not appear when i :
- First get the work area with
SystemParametersInfo(SPI_GETWORKAREA,0,&rect,0)
- Set the windows position like that :
SetWindowPos(&wndTop,1,1,rect.Width()-2,rect.Heigth()-2,SWP_SHOWWINDOW).
Of course the window appear in full screen and the taskbar is not
cover
by anything, so the fps are again close to 150fps... I don't get it, each
time the taskbar is touched, there is a problem with the performances, is
it
a driver pb or is it soemthing else ?
Thanks
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Problem in fullscreen under Vista
- From: Nord Pierre
- Re: Problem in fullscreen under Vista
- From: Joseph M . Newcomer
- Re: Problem in fullscreen under Vista
- From: Nord Pierre
- Problem in fullscreen under Vista
- Prev by Date: Re: where to write temporary files?
- Next by Date: Re: Trap MaxText trigger
- Previous by thread: Re: Problem in fullscreen under Vista
- Next by thread: Re: Problem in fullscreen under Vista
- Index(es):
Relevant Pages
|