help ... i tired to erase an picture
first i paint the picture creatring child window,, an giving it the proper msg.. ro paint
before it i have declared the picture in the device context
.... the when tried to erase the picture
i destroy the window
then deltece de hdc but the graph is still there
i trid i all the ways for example my best tries was
first i create a common window
the i create 2 butons, when u push one an dlgwindow apears and i paint the graph in my window not in the dlg one, so i close the dlgwindow i push the other button and my graphic erases,,
but when i erase the code where the dlg is create and i only tried to show a destroy de grahp it doesnt go.. deam i have a lot of problems with ot heeeeeeeeelppppppppppp
:bdg
Have you checked the BitBlt() with BLACKNESS or WHITENESS flags? or Fill functions?
Are you sure you understand Device Context and bitmaps?