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?
Asked
Active
Viewed 599 times
2 Answers
3
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.

Community
- 1
- 1

Tom Anderson
- 10,807
- 3
- 46
- 63
-
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 Jan 13 '09 at 17:19
-
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 Jan 13 '09 at 20:49
1
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
- 951,095
- 183
- 1,149
- 1,285
-
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 Jan 12 '09 at 23:25
-
Yeah, the original question is unclear on the exact platform. I assumed bare Win32 API. – Greg Hewgill Jan 12 '09 at 23:27