Bugs and PCs - Macro Keys
QTIPS - SET.MACROS - Choosing Active Macro Set
QTIPS - TCL Disabled
SecureUser
VERBatim - V86
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Version 2
Directory Exists on Novell
Gas Bar
Prompt Help
DOS Interfacing (Part II)
@ATTACK - @Help.Level
@ATTACK - @StatList
QTIPS - Standardising Error Message Display
Video Control
Customising the Status Line
QTIPS - Command Line Options
Customising the Status Line
Reader's Clinic - Functions and Subroutines
Reader's Letters - Jim Owen
Playing with Scan Codes
Argument passing - Subroutines and Functions - Mike Pope
Window or Not ?
Vroom - Window Processing
QTIPS - Window Symbol Tables
VROOM - Window Processing II
@ATTACK - @HW
Uncommon Knowledge - WC_Reset%
Reader's Clinic - Related Windows
Window or Not?
Reader's Clinic - Scribe Replace Processes in Window
Soft Windows
QTIPS - Window Bug and Debugging Window Bug
Overlapping Windows And Window Menus
QTIPS - New Catalyst Option
QTIPS - Collectors on the fly
QTIPS - Blank Menus in Windows
QTIPS - Moving Objects the EASY way.
Window or Not ?
@ATTACK - @Status.On
@ATTACK - @Modal
Flashing Background
Message
VERBatim - V41
Screen Grabber
Window or Not ?
Popups
Play it Again, Cam
QTIPS - Video.Rw
Window or Not?
Uncommon Knowledge - WC_Vprev%
Uncommon Knowledge - WC_VWindow%
QTIPS - Query Windows - Changing Colours
Video Control
Version 3 Technical Highlights - Input.Char
QTIPS - FOR/NEXT variables
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV1I9A22
TitleWindow or Not ?
KeywordsWINDOW
@STATUS.ON
VIDEO.RW
TextWhen writing a general purpose routine for use on a macro key it can
frequently be imperative to ascertain whether the user is currently on a
window so that WINDOW_COMMON% VARIABLES can be used I present below a
workable fast but inelegant solution Please note that it only works if
the status line is on

FUNCTION CHECK WINDOW

IN WINDOW = 0; NEW = ""
IF @STATUS ON THEN
CALL VIDEO RW(1 22 6 22 "R" IMAGE)
FOR X = 1 TO 12 STEP 2
NEW := IMAGE[X 1]
NEXT
IF NEW = "Window" THEN IN WINDOW = 1
END
RETURN IN WINDOW


(Volume 1 Issue 9 Page 11)
[revmedia/copyrigh.htm]

Page last modified: 30/01/03