Jump to content

VWStaticTextCtrl->SetColor How does it work?


PatW

Recommended Posts

Hello,

 

I did many approches to set the text-colour of a static text but nothing happens. How is it done?

VWStaticTextCtrl* statusTxContrl = GetStaticTextCtrlByID(klbCurrState);
...
// color.SetColor(color.GetRed() );
 color.SetColor(10, 5, 0, 100);
...
//color.SetBackgroundColor();
//color.SetFrontColor();

statusTxContrl->SetControlText (statusString);
statusTxContrl->SetColor(color, false);

 

Edited by PatW
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...