How can I add RichTextCtrl to Status bar? And use that instead to show rich text messages?
I cannot add directly using AddFrame as its not a InfoCtrl.
I tried the following and add it to status bar, but its interfering with other status bar functions like progress bar etc.
`
struct RichInfoCtrl : InfoCtrl {
RichTextCtrl richCtrl;
RichInfoCtrl() {
richCtrl.HSizePosZ(0, 0).VSizePosZ(0, 0);
this->Add(richCtrl);
Set(" "); // to clear default "Ready" text
richCtrl = "Ready"; // use richtext instead
}
void SetMsg(String str) {
richCtrl = str;
}
};
`
Is there a recommended way to add RichTextCtrl to status bar?
How can I add RichTextCtrl to Status bar? And use that instead to show rich text messages?
I cannot add directly using AddFrame as its not a InfoCtrl.
I tried the following and add it to status bar, but its interfering with other status bar functions like progress bar etc.
`
`
Is there a recommended way to add RichTextCtrl to status bar?