The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: JHER VON ARBANEL on November 11, 2005, 11:31:39 PM

Title: Graph help
Post by: JHER VON ARBANEL on November 11, 2005, 11:31:39 PM
   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
Title: Re: Graph help
Post by: BogdanOntanu on November 15, 2005, 11:45:17 PM
Have you checked the BitBlt() with BLACKNESS or WHITENESS flags?  or Fill functions?
Are you sure you understand Device Context and bitmaps?