Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!stanford.edu!ULURU.STANFORD.EDU!calder From: calder@ULURU.STANFORD.EDU (Paul Calder) Newsgroups: comp.windows.interviews Subject: How to display a composition? Message-ID: <9105102009.AA11504@uluru.Stanford.EDU> Date: 10 May 91 20:09:54 GMT Sender: news@shelby.stanford.edu (USENET News System) Reply-To: calder@lurch.stanford.edu Organization: Internet-USENET Gateway at Stanford University Lines: 18 Helen, The 'random' window happens because you haven't defined a background (the colored dots come from an unitialized pixmap). You need to put the top-level glyph inside a Background. int main(int argc, char** argv) { Color* bg = world.background(); ... ApplicationWindow window(new Background(viewer, bg)); window.map(); world.run(); return 0; }