home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.programmer:14588 comp.sys.mac.system:11326
- Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
- Path: sparky!uunet!usc!sdd.hp.com!ncr-sd!sagpd1!bberqu
- From: bberqu@sagpd1 ()
- Subject: Color Icons
- Message-ID: <1992Aug26.233800.21347@sagpd1>
- Keywords: coloricon
- Date: Wed, 26 Aug 1992 23:38:00 GMT
- Lines: 32
-
- Hi,
-
- I'm trying to create some color icons using ResEdit in 256 color mode, so
- I create the Icons with certain colors (like yellows/oranges ...) just
- fine, I copy them to the scrap and then paste them into the getinfo
- window, however, most of the (if not all) orange/yellow colors don't
- show up when the icon is pasted, all shades of the blues show up just
- fine. I also tried the apple colors pallete in ResEdit also with oranges
- and reds, still no success. I hope this isn't a FAQ, Any explanations
- would be appreciated.
-
- Programmers question:
-
- I'm trying to use ModalDialog with a filterProc function which will
- handle popupmenus, when I call ModalDialog and just let it sit there
- no mouse movement or anything, after a while, I get, I believe a system
- error #26 according to MacsBug, all my filter proc function does is
- return (TRUE), I've also tried FALSE. My impression from IM is that
- ModalDialog sits there and waits for a mousedown event within the dialog
- and when it gets either a itemhit or incontent or whatever, it then calls
- the filterProc function (if defined), is this true? I assume that it
- passes the dialog poointer/event record pointer/itemhit pointer, is this
- true? It looks like its calling my filterProc constantly, if this is true
- do I need handle events within the filterProc? Assuming all my parameters
- are correct for filterProc are correct, what am I doing wrong?
-
- An explanation of how ModalDialog and the filterProc functions work with
- each other would be nice.
-
- Thanks in advance
-
- Brian
-