Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!tut.cis.ohio-state.edu!mailrus!ncar!husc6!bbn.com!metasoft!rln From: rln@metasoft.UUCP (Roberta Norin) Newsgroups: comp.sys.mac.programmer Subject: Color Quickdraw Keywords: CobyBits, Palettes Message-ID: <1755@metasoft.UUCP> Date: 16 Aug 90 22:19:20 GMT Organization: Meta Software Corporation, Cambridge MA Lines: 30 I am having two problems using Color QuickDraw and would appreciate any advice or insights. 1. I am converting PICTs to my application's objects: I am using the QuickDraw standard procs to do this. For bitmaps, I just want to create another picture so I am opening a picture and calling CopyBits with the arguments that are passed to StdBits. I copy to the BitMap of the current grafport. This works fine for black and white bitmaps but I crash with color. Can anyone help. I have seen other references to this problem but no solutions. I've tried it with some pretty small images and still crash. 2. I have a palette of different colors to choose from. Since there is only one palette in the application I use the Ghost Window global to get it to float. This has worked fine with a small amount of extra code except the palette manager does not change its colors when the ColorPicker is called and a palette entry is changed. I suspect it has something to do with the fact that it is a ghost window and am wondering if this is an impossible combination or if there is some way to get this to work. If I change the color entries myself by calling PaletteToCTab(), the colors will change but only after calling the ColorPicker a second time. By the way I've heard that System 7.0 has floating palettes; is this true? Thanks in advance. Roberta Norin rln%metasoft@bbn.com Meta Software