home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Switching OS/2 windows<>fullscreen
- Message-ID: <1992Aug12.164512.7237@njitgw.njit.edu>
- Date: 12 Aug 92 16:45:12 GMT
- Article-I.D.: njitgw.1992Aug12.164512.7237
- References: <1992Aug7.185249.4620@hsv3.lsil.com>
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 38
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1992Aug7.185249.4620@hsv3.lsil.com> mvp@hsv3.lsil.com (Mike Van Pelt) writes:
- >Unfortunately, ALT-HOME doesn't work for OS/2 windows. If there's
- >anything in TFM about switching OS/2 windows with full-screen sessions,
- >it isn't in any of the more-or-less obvious places I looked.
-
- Can't be done. With a DOS box, you're emulating a VGA board, and it's
- simple to decide whether to put the image up full screen or in a
- window. With an OS/2 session, however, they are two different kinds
- of session, not one session with two display options.
-
- Full screen OS/2 sessions have the ability to access video hardware
- directly (after securing permission via some seldom-used VIO API's).
- They can directly modify keyboard and mouse parameters (using some
- obscure KBD and MOU API calls). Full-screen sessions run as
- independant processes - their parent process is the kernel, itself.
-
- Windowed sessions can't do this - they all run as child process of the
- PROTSHELL - namely, Presentation Manager. Only PM can directly modify
- hardware in this environment.
-
- While all window-compatible apps will run full-screen, not all
- full-screen apps will run in a window. There is a flag in the
- executable header to tell OS/2 if it must run full-screen or not, to
- ensure that you don't try to run a non-window-compatible app in a
- window.
-
- Even if you could change the apps's mode (windowed to full-screen
- might seem possible, full-screen to windowed would depend on the
- application that is loaded, of course), you wouldn't be able to change
- the process's parent. Remember, windowed sessions run as children of
- the PROTSHELL, and full-screen sessions run as children of the kernel.
-
- Anyway, this may clear up some of the "why" as well as the "how".
- --
- |) David Charlap "I don't even represent myself
- /|_ dic5340@hertz.njit.edu sometimes so NJIT is right out!.
- ((|,)
- ~|~ Hi! I am a .signature virus, copy me into your .signature file.
-