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

    Static Text Control

    How does one change the font, color, and size of a text box or static text box?

    Of all the things I've lost I miss my mind the most

  2. #2
    Join Date
    May 1999
    Posts
    78

    Re: Static Text Control

    Try to do a Right Click on the Dialogue and as part of the properties of the dialogue the FONT attribute appears.....
    good luck


  3. #3
    Join Date
    Apr 1999
    Posts
    18

    Re: Static Text Control

    I only want to modify the one control, not the all the controls, any other ideas?

    Of all the things I've lost I miss my mind the most

  4. #4
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: Static Text Control

    Try creaing a Font from LOGFONT and then setting it with SetFont to the control


  5. #5
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: Static Text Control

    For colour you have to intercept the WM_CTLCOLOR for the dialog/form you use them on

    Sally


  6. #6
    Join Date
    May 1999
    Posts
    78

    Re: Static Text Control

    Try using bitmaps in the form of text


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