Raymond said:
I don't believe you for that point.
Well I don't see why not. Have you ever coded such applications as browsers,
or such things as video drivers?. I have.
<background>
The window is under control of the operating system. Those three things (I'm
talking Windows here) at top right of the window, the minimize, maximize and
close buttons, they are owned by the operating system. They are part of the
window supplied to the application by the OS, the non-client part of the
window. The application does stuff with the client area. I assume MAC stuff
is the same.
If the user presses one of them, say the maximize (or full-screen) button
the application (the browser you have written) does not even know. All you
get is a WM_PAINT message. You have to interrogate the OS to find out if you
are in full screen mode or not (if you even care) or intercept the special
non-client family of windows messages.
Same for the minimize and restore buttons. A common or garden variety of
application will not even know, or care, if it has been, say, minimized. It
*may* query its minimized/normal state if it needs to save state information
for the next instantiation but for day to day operations it will/should not
care. The OS gives it a window with a client area and it paints in that
client area.
</background>
As to "coding the graphics card" you don't. You make calls to the OSs GUI
API and the OS eventually, after several layers, makes calls to the video
driver which then interacts with the video card hardware. You, as a
application (say browser) developer have absolutely no way in wich to
interact with the graphics card itself. The OS simply does not allow you to
do so. Interacting with the hardware (the graphics card) is part of the
arcane art of driver development, a level far below that if application
development.
F11 did not put the webpage in FullScreen ..... it's still windowed.
Which browser? Works for me in IE, FF and just about every other browser I
have (except lynx of course). Screenshot?
And yes, of course it's still windowed, but it is a full screen window, just
as you would get if you pressed the operating systems full screen button,
centre of the top right buttons. Yes, it is a little different because the
application has processed the F11 keypress and chooses to do a bit more than
the OS does when the fullscreen button is clicked.
Then again if you are using a MAC I simply don't know.