Article View: comp.sys.atari.st
Article #40095How do I add a window to a form?
From: Paul Close
Date: Sun, 07 Jan 1990 18:07
Date: Sun, 07 Jan 1990 18:07
25 lines
1748 bytes
1748 bytes
I'm trying to add a scrollbar (slider) to allow a long text description to be
partially displayed in a form. I've written several programs using forms, but
windows are new to me. I can figure out a kludgey way to superimpose a
window over my form, but that's about it. I'm looking for something like the
item selector, where a scrolling window peacefully co-exists within the form.
Even if I could kludge together something that *looked* good, I'm not clear
on how to use it once it is created. I need to use form_do to read the form,
but also need evnt_... to read the window. How can I do both? Do (can) I use
the G_PROGDEF type briefly mentioned in the MWC docs? If so, how?
Finally, I can't find any functions for writing into windows. Do I just write
to the screen inside the window? It seems like a window is just a way of
managing a mini-screen. I was hoping there was an object that would allow for
scrolling fields. I also wonder about all the "home-brewed" windows I see in
applications. They look like GEM windows, but have more buttons and fields
than GEM windows. Is there a "window toolkit" buried in the AES or VDI
somewhere?
Questions, questions, questions. Thanks to those who reply,
--
Paul Close paul@cacilj.CTS.COM ...!{uunet, ucsd, crash}!cacilj!paul
The Obi-wan Kenobi method: "Use the Source, Luke" -Jim Fulton
Technical Details
Message-ID:
<1360@cacilj.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!ucsd!cacilj!paulShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!ucsd!cacilj!paul From: paul@cacilj.UUCP (Paul Close) Newsgroups: comp.sys.atari.st Subject: How do I add a window to a form? Message-ID: <1360@cacilj.UUCP> Date: 7 Jan 90 18:07:00 GMT Reply-To: paul@cacilj.UUCP (Paul Close) Organization: CACI Products Company, La Jolla, CA Lines: 25