changing font size in CEdit control 
Author Message
 changing font size in CEdit control

hi, can anybody help?

I have changed the size of a font in a CEdit-mapped Dialog resource edit
control, using the OnCtlColor() function, and selecting this new, bigger
font into the DC supplied by the latter function, but when the text is
actually drawn you only get the top of the font (i.e. the control is still
only allowing the same line height as it did with the smaller font).

How do I tell the control to alter its line height?

Thanks



Mon, 21 May 2001 03:00:00 GMT  
 changing font size in CEdit control
Try MyEditCtrl.SetFont()
Quote:

>hi, can anybody help?

>I have changed the size of a font in a CEdit-mapped Dialog resource edit
>control, using the OnCtlColor() function, and selecting this new, bigger
>font into the DC supplied by the latter function, but when the text is
>actually drawn you only get the top of the font (i.e. the control is still
>only allowing the same line height as it did with the smaller font).

>How do I tell the control to alter its line height?

>Thanks



Mon, 21 May 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to change the font size for a CEdit control

2. Changing font size in CEdit and Text controls

3. Changing Font in CEdit control

4. Changing the font of a CEdit control (non dialog)

5. How can I change the font of a CEdit control

6. changing font on a CEdit control

7. How to change font of run-time CEdit controls

8. Changing Font in a CEdit control

9. CEdit control .. change Font selection

10. CEdit controls and changing the font color

11. Changing the font of a multiline CEdit Control

12. Changing font style in CEdit derived control.

 

 
Powered by phpBB® Forum Software