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