dfs059@Mipl3.JPL.Nasa.Gov (05/03/88)
Tom Carstensen (tom@mntgfx.MENTOR.COM) asks: >Must old programs that use copy bits assuming a black and >white screen be updated, since it only allocates enough >space for a 1 bit screen? Or will they be OK as long as the >do CopyBits within thier own windows? >Which is another question. Is it bad practice to do CopyBit >operations outside your own window (i.e writing your own >menus that do CopyBits on the desktop port). Must I check >for the screen depth? CopyBits works just fine on different screen depths, even from a screen (window, grafPort, CGrafPort, whatever) of one depth to one of a different depth. As to your second question, I think that CopyBits would work just fine outside your windows, although I am not real keen on writing to the desktop port, as that doesn't sound very Multi-finder compatible.... -------------------------------------------------------------- Dan Stanfill Multimission Image Processing Laboratory Jet Propulsion Laboratory ARPA: dfs059@mipl3.jpl.nasa.gov SPAN: MIPL3::DFS059 --------------------------------------------------------------