How to change font of run-time CEdit controls 
Author Message
 How to change font of run-time CEdit controls

Add a CFont member to your parent window class (probably a CDialog or CView
derived class).

After you create the CEdit window (via a Create call), create the font, then
call SetFont on the CEdit. Note, the font needs to stick around until the
CEdit window is destroyed. That's why I suggest making it a member variable
of the parent window class.

Ed...


Quote:
> Hi,
>   Could you someone tell me how to change or modify the font of CEdit
> controls which is created run time?

> Sent via Deja.com http://www.*-*-*.com/
> Before you buy.



Sun, 28 Apr 2002 03:00:00 GMT  
 How to change font of run-time CEdit controls
Hi,
  Could you someone tell me how to change or modify the font of CEdit
controls which is created run time?

Sent via Deja.com http://www.deja.com/
Before you buy.



Mon, 29 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing CEdit control attributes at run-time

2. Changing the Read Only Attribute of a CEdit at run time

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. How to change the font size for a CEdit control

7. changing font on a CEdit control

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