TIP: Click on subject to list as thread! ANSI
echo: cis.os9.users_group
to: George Hendrickson 71071,2003
from: Kevin Darling (UG Pres) 76703,4227
date: 1990-10-08 22:22:11
subject: #7196-GFX2 Module

#: 7253 S5/OS9 Users Group
    08-Oct-90  22:22:11
Sb: #7196-GFX2 Module
Fm: Kevin Darling (UG Pres) 76703,4227
To: George Hendrickson 71071,2003

Hi George -

Capture message #6947 for the example program.  See if that works for you (in a
gfx window of course).

A menu will appear if you're doing a GetSel and the arrow is over a top menu
item.  WindInt handles it from there, then returns the selection numbers to
you.

The window/menu descriptor arrays are not described, because the whole point
was to hide all the technical guts to make things easier.  The M-V manual (the
section on C interfacing) contains the info about what these structures
contain.

So instead of a basic09 programmer needing to become part asm-programmer (and
set up TYPEd arrays, use Syscall, etc), the idea was to create commands which
diddled those structures from a higher-level Basic-like syntax.  The space for
the structures was still needed, however, so I had to make you DIM memory for
them.  Strings, bytes, whatever... didn't matter... just as long as there was
sufficient space.

Let me know how you fare. best - kev

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.