CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Oklahoma
    Posts
    263

    Color of text in a ModalDialog

    Does anyone know how to have multi-colored text in a dialog box? I am trying to have a warning message in a dialog that needs to be red while the rest of the text should be black. If you could post a sample, I would greatly appreciate it!

    Thanks in advance.

    John Hagen



  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Color of text in a ModalDialog

    Check the static controls section of this site.
    There is an article titled 'Extended use of CStatic'
    or something like that will let you do all kinds of neat stuff
    including changing the colors, selecting a different font,
    and even blinking.




  3. #3
    Join Date
    May 1999
    Location
    Oklahoma
    Posts
    263

    Re: Color of text in a ModalDialog

    Thanks for the information. I'll give it a try.

    John



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