CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: LineTo

  1. #1
    Guest

    LineTo

    How do I set the color so that the LineTo( hdc, x, y ); function displays as white? thanks


  2. #2
    Join Date
    May 1999
    Posts
    36

    Re: LineTo

    Hi,

    Select a pen into the dc using SelectObject(). Don't forget to save the old pen, so that you can replace it back into the dc when you are done.

    HTH,

    Harvey Hawes

    Software Engineer
    BioScience Analysis Software Ltd.

    Masters Candidate
    Cardiovascular/Respiratory Sciences
    Faculty of Medicine
    University of Calgary
    Calgary, Alberta, Canada

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured