home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!mspace
- From: mspace@netcom.com (Brian Hall)
- Subject: Re: ICON Button Question
- Message-ID: <1992Dec14.234701.8820@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <Bz9qur.Eqr@umassd.edu>
- Date: Mon, 14 Dec 1992 23:47:01 GMT
- Lines: 21
-
- mason@cis.umassd.edu (Mason L. Bliss) writes:
-
- >This is probably a FAQ, but.....
-
- >Is there any easy way to have an icon associated with a button automagically?
- >Basically, I want to just point my control at an icon, and tell it to 'go
- >for it'. I want the button to automatically redraw the icon with
- >DrawControls(), and do the right thing when hiliting/unhiliting, etc.
-
- If you are using TCL, I just submitted a class (CIconBuddy) that does
- just that, and it works for large, small, and mini icons. Look in the
- tcl archives on ftp.brown.edu.
-
-
- --
-
- \ | / | Brian Hall mspace@netcom.com
- - : - | Mark/Space Softworks Applelink: markspace
- /|\ | America Online: MarkSpace
- |-+-| |
- /-\|/-\ | PUI: Programming Under the Influence.
-