ww0m+@andrew.cmu.edu (William Walker) (03/08/91)
IM-V (p 156) discusses the reservation and use of animating colors. The section of interest reads [end of first paragraph under the "Animating Colors" section]: .... However, when you call PmForeColor the Palette Manager will locate the reserved index [of the animating color] and configure your window's port to draw with it. On multiple devices this will likely be a different index for each device, but this process will be invisible to your application. I have created a window that has sixty-four (64) animating colors and all of the colors animate perfectly when the window is on the main screen. However, when this window is moved to another screen, the colors no longer animate. The way I understand the section of IM-V quoted above is that the Palette Manager will take care of animating the proper indices on every device that the window spans (wishful thinking, I know). I can imagine only one thing that may be non-standard: the window is not active when the colors are being animated. (Again, it works fine on the main screen and even in multiple inactive windows on the main screen; but move the window to a second screen and the colors no longer animate). What I would like to know is: How can I get colors to animate across multiple devices? Do I need to bypass the Palette Manager and ReserveEntries for the animating colors on each device? Do I need to let the PaletteManager know (somehow) that the window is now spanning multilpe devices? If anyone has any experience animating colors across multiple devices, please let me know what I might be doing wrong. If you have code that you can share, please share it with me. Thanks in advance, Willy Walker ww0m+@andrew.cmu.edu