| RTP Series - RTP57 |
| File Variables |
| Reader's Clinic - Volume Pointer Record |
| REVMEDIA Revisted |
| Utility Diskette # 4 |
| Reader's Clinic - Screen Width |
| Screen Grabber |
| Reader's Clinic - Slow Multivalued Screen Display |
| Utility Diskette # 4 |
| Gas Bar |
| Prompt Help |
| @ATTACK - @CrtMaxHigh |
| @ATTACK - @Modal |
| @ATTACK - @Status.On |
| Window or Not? |
| REVMEDIA Revisited |
| Utility Diskette # 4 |
| VERBatim - V85 |
| A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd |
| QTIPS - Inconsistent @Variable Behaviour |
| What's New (and un(der)documented!) In 2.12 |
| File Variables |
| Argument passing - Subroutines and Functions - Mike Pope |
| RevTech Replies - Mike Pope (RevTech UK Ltd) |
| Symbol Table Structure |
| Reader's Clinic - Functions and Subroutines |
| Reader's Letters - Jim Owen |
| Playing with Scan Codes |
| Argument passing - Subroutines and Functions - Mike Pope |
RevMedia FKB
| Document | V2I9A3 |
| Title | Window or Not? |
| Keywords | WINDOW_COMMON% VIDEO.RW @STATREC STATUP WINDOW |
| Text | In Volume 1 Issue 9 a technique was documented which permitted the developer to ascertain whether a window was on the screen to avoid fatal references to WINDOW_COMMON% This made use of a VIDEO RW call to see if the status line had the literal "Window" at the beginning but unfortunately had several limitations If the status line is turned off this literal will not be present If the new enhanced EGAVGA modes are used the screen will not be 25 lines deep and the status line will appear at a DIFFERENT location Regardless of whether the status line is enabled CALLS to STATUP continue If the Status line is disabled they merely do not display This means that all of the CURRENT @Variables relating to the status line remain valid even with the status line turned off The variable @STATREC (as documented in @ATTACK) contains the contents of the CURRENT status line Therefore a simpler function to check for the presence of a window would be (with acknowledgments to Mike Pope of RevTech for pointing this out) FUNCTION IN_WINDOW RETURN (@STATREC<0 1>="Window") (Volume 2 Issue 9 Page 4) |
Page last modified: 30/01/03