News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Graph help

Started by JHER VON ARBANEL, November 11, 2005, 11:31:39 PM

Previous topic - Next topic

JHER VON ARBANEL

   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

BogdanOntanu

Have you checked the BitBlt() with BLACKNESS or WHITENESS flags?  or Fill functions?
Are you sure you understand Device Context and bitmaps?
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro