|
-
April 29th, 2004, 09:55 AM
#1
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
-
April 29th, 2004, 10:19 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|