cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Madhu_Mitra
Level 3

Setting Color of a Text Control

Hello,
I have a custom dialog with a Text Control. I need to change the color, font and size of this Text Control. I have been able to change the font style using the following code

hCtrl = GetFont ("Times New Roman", 11, STYLE_ITALIC );
CtrlSetFont ( szDialogName, hCtrl, RES_TEXT );

where RES_RES_TEXT is the control id of the Text Control
hCtrl is the handler of the font


Please if someone could guide me how to change the color of this Text Control.


Madhu
Labels (1)
0 Kudos
(1) Reply
Roman1
Level 9

No posible.
0 Kudos