who can i use "CreateDC();"

Hello all!

i dont no how to create a new HDC, because i dont know
what params do i have to give to the function...

i would like to create a new HDC, write the pixels
into it by useing SetPixel func. and then i copy it
into a TCanvas->Handle property, it shows nothing...
but if i'm writing for example into a TEdit 's HDC,
and then copy it into the TCanvas->Handle, it is working...
but than the whole TEdit 's graphic is also copyed into
the canvas...
please can anybody help me how to create a new HDC, using "CreateDC();"
and send me some example...
many many thanx...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!