How full-screen mode, like in web browsers, for application running under Windows OS is implemented? Is it more complex then maximizing a window and hiding window decoration?
+3
A:
Form Style = NONE, maximized.
If you specify the language you could probably get some sample code.
EDIT: in response to what Greg posted, this will work in .Net for sure, not sure about other languages.
Tom Anderson
2009-01-12 22:58:06
Got it.But I guess there should be an extra step of bringing the application on top of all other windows and task bar, shouldn't it? At least IE seems to work that way and it sounds reasonable to me.
Dima Malenko
2009-01-13 17:19:49
it actually does it automatically (windows), any window class without a windows border style that is maximized will go over all "explorer" windows.
Tom Anderson
2009-01-13 20:49:52
+1
A:
No, it's not more complicated than what you propose. I know of one example of such code in the VNC viewer source, since I contributed the first implementation of that very feature many years ago.
Greg Hewgill
2009-01-12 23:22:13
This should be a comment, not a new post, but... In .Net you simply set the FormBorderStyle = None and WindowState = Maximized and it will go into "kiosk" mode. I have about 10 apps running like this on touch screen terminals.
Tom Anderson
2009-01-12 23:25:01
Yeah, the original question is unclear on the exact platform. I assumed bare Win32 API.
Greg Hewgill
2009-01-12 23:27:07