I want to display a plot, but when i try to display my picture box (CStatic derived control) Diplot shows first and i have a white bitmap on my picture box. I have implemented ONPaint () on the picture box (it was grey at the beginning and it turns white..) . Does anyone have an idea how to display the actual plot On my picture box ? I do not want a diplot window to pop up.