home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!unixg.ubc.ca!haley
- From: haley@unixg.ubc.ca (Ross MacGregor)
- Newsgroups: comp.sys.amiga.programmer
- Subject: How should I reset a TOGGLESELECT gadget?
- Date: 15 Nov 92 23:18:16 GMT
- Organization: The University of British Columbia
- Lines: 24
- Message-ID: <haley.721869496@unixg.ubc.ca>
- NNTP-Posting-Host: unixg.ubc.ca
-
- I'm trying to find the proper way change the state of a TOGGLESELECT
- gadget. The intuition header file seems to indicated that the
- SELECTED flag is read only (can be set only during initialization).
- Is this true?
-
- I have an application that conatains 10 push buttons that will change
- each time the user selects a different item. This will happen frequently
- so I don't want to have to remove all the gadgets and add them back again
- each time.
-
- But, I guess I'll have to. Writing to a structure once given to the OS
- should be a no-no, now that think about it. I don't think this is
- stressed enough in documentation, I was playing with gadgets for a
- while until I found out you have to remove a gadget before you can change
- the gadget text.
-
- --
- Ross MacGregor | "NT delivers on the promise of preemptive multi-
- haley@unixg.ubc.ca | tasking: The user can preempt the system."
- | -Jon Udell (BYTE senior tech editor) :^)
- --
- Ross MacGregor | "NT delivers on the promise of preemptive multi-
- haley@unixg.ubc.ca | tasking: The user can preempt the system."
- | -Jon Udell (BYTE senior tech editor) :^)
-