[BUG] hide window: other apps can't go full screen
Hello,
try this:
1) Make just a frame (with no objects and no events), mark "hidden at start", build and start.
2) Then start some other app/game (if from mmf or not) who goes to full screen with directx.
The screen switches back to windows desktop.
You can try to switch with task manager between apps several
times, it will always go back to desktop, never can change
resolution to full screen.
Who can reproduce it?
Could it be fixed?
This doesn't happen from mmf2s "run application"-command but in build mmf-applications.
Mmf2-full-screen-games with standard display mode also can go full screen but not with directx-mode.
This happens with the inbuild "hidden at start"-checkbox AND with the WindowControlObject (hide window).
Solution
The Kernel Object.
Don't know why but it functions...seems to function.
Or use the standard display mode,
which is not advisable (and no solution for external programs of course).
Re: [BUG] hide window: other apps can't go full screen
No, Kernel object the same... :(
Sometimes it functions (mostly at first start), sometimes not.
Maybe its related to directx or graphic card (ATI)?
But why it then functions without problems in the mmf runtime environment (MMF2 2Dev, latest build)
but not when build as exe??? I really don't understand it.
Re: [BUG] hide window: other apps can't go full screen
Hm,looks as nobody would be interested.
OK, until now i can't get the "hide window"-option
to work together with other full screen-apps,
so "hide window" is not useful in this case, means
you can NOT let a program run in background while run
another who changes the screen resolution.
Here comes the workaround,
you need window control and system tray object.
Start of frame
system tray:
-remove icon from tray.
window control:
-set framesize to 1x1
-set window position to screen resolution+1
if the screen resolution is changed
window control:
-set window position to screen resolution+1
(this is necessary cause after switching to a smaller resolution
and back the window is now visible)
Thats all. :)
Re: [BUG] hide window: other apps can't go full screen
Yes, I confirm this problem. I've spent some time last week with the VC debugger to try to see what happens, but I haven't been able to see what is causing this problem, it seems to be due to a focus problem, that's very odd. I'll try again when I have more time.
Re: [BUG] hide window: other apps can't go full screen
Thanks!
Yes, it's a focus problem, i just discovered that
it's not depending on the "window hide"-function but also
happens with "attach to desktop".
And the workaround from above doesn't work really. :(
It is difficult to isolate the problem cause resolution change
sometimes works fine for the first time the application is started
(the calling program (explorer) gets the focus back after start).
When the mmf-application is started second time, explorer loses
focus after start, this is a sign that full screen switching no longer is possible.