Howdy, Stranger!

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

Categories

function SetBkColor(DC: HDC;...HELP!

SlickireSlickire Member Posts: 1
hello, i use turbo pascal for windows 1.5.
i am trying to colour in the text/background color in the dialog box, but i am unsure which command to use. i think it is the setbkcolor function...but what does 'DC: HDC' part mean?especially the DC part. it says in help that DC means the device context, even still im unsure what values to put in..is it integers,strings,char...what!??!
has anybody got an answer?
thanks in advance.

Comments

  • Mr. EgoMr. Ego Member Posts: 38
    I'm only beginner, but maybe I can help you. You can access almost each graphical device trough GDI. If you want to draw into graphical device, you must get its device context. I'm not sure, but I think that does the procedure GetDC. See Windows API Referece for more details. I hope these informations will be useful for you. Bye


  • Justin BibJustin Bib USAMember Posts: 0

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

Sign In or Register to comment.