Wednesday, January 21, 2009

The Z-Order of Windows

* We saw how you can move a window. In some cases, you end up with one window positioned on top of another. Of course the first remedy that comes in mind is to move one of the windows away from the other. This also implies that sometimes you would have to enlarge and/or heighten the window. There are situations that either you don't want to resize the window or you
can't: your only solution is to have one window on top of another.
* When one window is positioned on top of another, they use a third axis whose origin, like that or the other axes, is on the top-left corner of the monitor. This third axis, also considered the z-axis, is oriented so that it moves from the monitor towards you. The operating system is in charge of positioning and drawing the objects on the screen.
* Here is an example where WordPad is positioned on top of FreeCell, which is on top ofNetscape:

No comments:

Post a Comment