Thread: How To Give A Font Colour ?

  1. #1

    How To Give A Font Colour ?

    I Am The Kind That Like To Program In Pure MFC Code Without Using The Wizard, Cause I Think I Can Learn A Lot From There. Stupid But True.

    Here Is The Question:
    When I Create A CFont, I Create It Like Everyone Else.
    CFont *font;
    font = new CFont;

    But The Question I Been Having For Sometime But Do Not Dare To Ask Is How To Give The Font A Colour.

    Anyone That Really Know MFC, Could You Give Some Help ?
    Thanks A lot.

  2. #2
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Look up CDC::SetTextColor()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Changing Font colour for C++
    By dutch's finest in forum C++ Programming
    Replies: 3
    Last Post: 11-28-2004, 08:11 AM
  2. How to install font programattically ?
    By cr_naik in forum Windows Programming
    Replies: 0
    Last Post: 06-27-2003, 03:20 AM
  3. Replies: 5
    Last Post: 03-01-2003, 04:52 PM
  4. DirectDraw colour matching
    By Hunter2 in forum Game Programming
    Replies: 2
    Last Post: 12-10-2002, 02:17 PM
  5. Font Colour
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 09-13-2001, 12:55 PM