title: c++ repaint window
body: <p>i got a window with an image in it. but when its a little picture i first need to resize the window before i can see it, the screen doesnt refresh/repaint.
  how can i fix this?</p>