CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    167

    How to highlight text ???

    Hello
    When I draw text on runtime pDC->TextOut(...) How can I highlight this when drag left-click ???

    Thanks


  2. #2
    Join Date
    Aug 1999
    Location
    Germany
    Posts
    2,338

    Re: How to highlight text ???

    .. use pDC->SetTextColor() and pDC->SetBackground() width Colors you get from GetSysColors.

    Martin



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