This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Setting Color of a Text Control
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 21, 2011
08:30 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 21, 2011
11:06 AM
No posible.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)