Dima Malenko
Dima Malenko

Reputation: 2835

How to implement full-screen mode?

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?

Upvotes: 2

Views: 624

Answers (2)

Tom Anderson
Tom Anderson

Reputation: 10827

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.

Upvotes: 3

Greg Hewgill
Greg Hewgill

Reputation: 994371

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.

Upvotes: 1

Related Questions