Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Simulating Menu Clicks
◄Up► ◄Contents► ◄Index► ◄Back►
─────Simulating Menu Clicks─────────────────────────────────────────────────
The CLICKQQ function simulates the effect of clicking or
selecting a menu command. The QuickWin application behaves as
though the user had clicked or selected the command.
The interface of CLICKQQ, defined in FLIB.FI, is
INTERFACE TO INTEGER*2 FUNCTION CLICKQQ(ITEM)
INTEGER*2 ITEM
END
The function returns zero on success and a nonzero value on failure.
The symbolic constants for the ITEM parameter are
QWIN$STATUS
QWIN$TILE
QWIN$CASCADE
QWIN$ARRANGE
These correspond to the Status, Tile, Cascade, and Arrange Icons
commands on the Window menu. These constants are defined in
FLIB.FD.
-♦-