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

Thread: font of an edit

  1. #1
    Join Date
    Nov 1999
    Location
    Austria
    Posts
    56

    font of an edit

    How can I change the size of a single edit field in a dialog with other edit and combo. these should stay at the normal size . any idea welcomed.
    thanks
    Long John


  2. #2
    Join Date
    Jun 1999
    Location
    Singapore
    Posts
    1,304

    Re: font of an edit

    Get the font of the edit control using CEdit::GetFont(...) and then alter the height of the font before applying the changes using CEdit::SetFont(...).

    Is this what you want?

    Chen Weiye
    ------------------------------------------------------------------------------
    When pursuing your dream, don't forget to enjoy your life...
    ------------------------------------------------------------------------------
    Chen Weiye
    -----------------------------------------------------------------------------
    When pursuing your dream, don't forget to enjoy your life
    -----------------------------------------------------------------------------

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