I have an MFC-application where I've put a picture control in the form-dialog. I am drawing a graph in it and everything works fine except that the drawing goes outside of the control. It literally paints the whole form. In my understandig, this shouldn't be the case.
Type of the control is Bitmap, but ownerdrawn etc. provide the same results.