CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    Bangalore, INDIA
    Posts
    20

    Question Changing edit box text in MFC

    hai all,

    I am a primer VC++ programmer.
    I want to place the text , color and font of a button to a edit box.


    Please help me..
    with regards,
    Arun Chakaravarthy

  2. #2
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211
    check the article section of www.codeguru.com. You'll find alot of articles related to that.

    I've to run now, so right now, I can only tell you the procedure for these 3 tasks.

    Derive your own class from CEdit.

    Make a CFont member and in the construcutor create a font.

    Use the method SetFont(...) to set that font to your CEdit derive class.

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