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

Thread: Text Coloring

  1. #1
    Join Date
    May 1999
    Location
    Arizona, U.S.A.
    Posts
    101

    Text Coloring

    I am currently using the CTLCOLOR_STATIC for changing the Static Text in my Dialog. Boring! Can anyone explain if and how to change the Static Text items individually? If possible some code example(s) and how to actually implement would be greatly appreciated. Thanks! Charlie

    Everything is Free Until You Have to Pay for it....

    Platform is Windows 2000/XP Professional, Visual C++ 6.0

  2. #2
    Join Date
    Apr 1999
    Location
    Quebec, Canada
    Posts
    39

    Re: Text Coloring

    Did you try to use SetColorText or SetBkColor in your static window.
    If it doesn't works I just see that you have to derive your CStatic to implement color from a color variable in the CMyStatic object.

    Nath.


  3. #3
    Join Date
    May 1999
    Location
    Houston - TX - US
    Posts
    29

    Re: Text Coloring

    Hi,
    there is some code in this site for that . Use those files . It works good. In case U don't get it let me know , I can mail U.
    Good Luck.
    Yash.


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