I'm having a hard time figuring out how to rubber band a rectangle in a dialog. I've done this in a view by following some simple directions, and that took all of probably 3 minutes. The dialog seems to be entirely different as I no longer have OnDraw or the document/view architecture. The program is basically one large dialog with a 2D image rendered in the top right corner and the other buttons are for interacting with this image. What I want to do is rubber band a rectangle in this 2D image area on top of the image after it is rendered so that you may select and area in the 2D image. It sort of works, but it seems to kind of draw behind the 2D rendered image. When you try to select the area, you don't see anything during Lmousebuttondown and mousemove events until the lmousebuttonup event in which you see a white rectangle flash for a second and that's it. The selection itself works, you just cannot see what you are selecting, except in the separate and optional 3D view. I did not write this software to begin with, I just work on it part time (i'm a student). Thank you for any help you may be able to give.