home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27194 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.4 KB

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