View Full Version : can create more than 1 Onpaint () for drawing?

12-03-2003, 12:27 AM
i have a main dialog with 3 child dialogs, which when user input some data into the child dialog one at a time, my image will appear on main dialog. Because i have difficulty in putting my drawing code in main dialog 's Onpaint() and unable to control the drawing to come out whenever any one child dialog is accessed, i want to knoe is it possible for every child dialog to have own Onpaint() for drawing whenever that particular child dialog is accessed?