CompuServe Messages

Initial Window Graphics

    18-Feb-92 22:16:36
Sb: Initial Window Graphics
Fm: Michael A McCormick 76046,1057
To: All and Sundry
I need some guidance on opening an Intuition Window with the graphics already defined. What I'm doing is including a GIF viewer as part of a larger program I'm writing. What I would like to see is the viewer do all the decoding invisibly while it's loading the bitmap for the window. When the decoding is done I want to open the custom screen then open the window so that the GIF picture comes up all at once. Alternately, I could open the screen and window *behind* the WorkBench screen and bring it forward when the picture is done, but I still want to do it very quickly. All the data jammed into the planes of a bitmap or view before being sent to the window. From reading the various books I have, I've been getting the impression that I should use a View and Viewports along with a bitmap and RastPort structure. But none of the books show any sample code using Views and I'm not sure how a View relates to a Window anyway. My mind is possibly clouded by the "Views" used by VAX Screen Management, which is the other machine and windows system I program in. Sample code and clear explanations greatly appreciated, Michael McCormick