home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / msdos / programm / 2260 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.9 KB

  1. Xref: sparky alt.msdos.programmer:2260 comp.os.msdos.programmer:8815 comp.lang.pascal:5060
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  3. From: holland@matt.ksu.ksu.edu (Rich Holland)
  4. Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.windows.ms.programmer,comp.lang.pascal
  5. Subject: Re: Windows and printscreen
  6. Date: 26 Aug 1992 07:45:58 -0500
  7. Organization: Kansas State University
  8. Lines: 23
  9. Message-ID: <17fue6INNlb7@matt.ksu.ksu.edu>
  10. References: <17387rINNnm9@matt.ksu.ksu.edu> <BtGp2C.LB@ireq.hydro.qc.ca> <17alp5INN4f0@matt.ksu.ksu.edu> <BtKMtt.Mrv@ireq.hydro.qc.ca>
  11. NNTP-Posting-Host: matt.ksu.ksu.edu
  12.  
  13. beaurega@ireq.hydro.qc.ca (Denis Beauregard) writes:
  14.  
  15. >In your example, prthru is a Windows program calling tn3270, a Windows
  16. >program too, so int 05 and 09 are catched.  If, however, prthru and
  17. >tn3270 are both DOS programs (i.e. Windows will install DOS prompt before
  18. >running prthru), then you should be able to intercept printscreen, but only
  19. >if the DOS window is active.  It is like a program writting directly to
  20. >the screen (like a text editor I wrote years ago).  In the DOS window,
  21. >the editor writes to the video memory directly so that in DOS full
  22. >screen, the video memory is not intercepted.  However, in DOS window
  23. >with Windows active, when the editor writes to the screen, Windows intercept
  24. >the character, and re-write it on the copy of memory video in the DOS window.
  25.  
  26. But since they're both DOS programs, redirecting the keyboard interrupt
  27. would work, in the box.  Only in the foreground?  How the *heck* are you 
  28. going to press PRTSCR in a background box?  Why would you do it?  (anyway,
  29. tn3270 runs full-screen by default)...
  30.  
  31. -- 
  32. Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
  33. 100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
  34. Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
  35. "Jesus saves...but Gretzky gets the rebound!  He shoots!  He scores!!"
  36.