Hi All, Does anybody has an example how to use a memory device context? Let me explain what I want to do: Load an image with PIL.Image create a ImageWin.Dib object paste the image in dib use dib.expose(dc,x,y) to have the image in a memory dc. Then for each OnDraw use StretchBlt to paint a part/all image on the client window Thank You, Lale