>Does anybody have any idea why the empty dialog box overwrites my picture? Sure; you have to handle "Window updates"; these get posted when the system wants to(obviously not right away) update your window. So, just draw your picture when you see a window update event for the particular window ID, and you should be fine. I'm more of a PG person, and this is handled in PG gracefully behind my back, I don't actually have any code to share ^_^;; You'll want to look in one of your FB manuals on updating windows. -- Terence Jordan (tatewake@...) Inspired Software. http://inspired.netstreet.net/ Macintosh, Dos, Windows, and BeOS software solutions. Phone: 407-728-7563 ............................................ . New: Renegade Space Ninja for Macintosh! . . Visit our page for more info. . ............................................