Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!lll-winken!aunro!alberta!cpsc.ucalgary.ca!news From: mikeh@fsd.cpsc.ucalgary.ca (Michael Hoffos) Newsgroups: comp.windows.x Subject: How do you draw a bitmap into a window? Message-ID: <1991May8.035103.11556@cpsc.ucalgary.ca> Date: 8 May 91 03:51:03 GMT Organization: U. of Calgary Computer Science Lines: 12 Nntp-Posting-Host: fsd This may be a stupid question, but what is the magic to putting a bitmap into a window? I made a window with XCreateSimpleWindow, used XCreateBitmapFromData to make the bitmap, and then realized I have *no* idea where to go from here! The code is going to be used to display bitmaps that are generated by a contour tracing program (which is already written). I would appreciate any help/suggestions/code that any of you can pass along. Mike Hoffos