Howdy, Stranger!

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


who can i use "CreateDC();"

qwertklasopqwertklasop Member Posts: 1
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...



  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ________ { } free ebooks and video tutorials about { Visual Basic Ruby C MATLAB Scratch Java Perl Visual Basic .NET Assembly Delphi R JavaScript Objective-C Python PHP PL/SQL C++ Swift Go C# D Ada Hack ABAP Awk COBOL Lua Fortran Bash Crystal Apex Rust Clojure Scheme FoxPro SAS Kotlin VBScript Prolog Alice Scala F# LabVIEW Dart Lisp Transact-SQL Erlang Logo ML Julia } _

Sign In or Register to comment.