mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
[GH-ISSUE #164] How can I add RichTextCtrl to Status bar? #72
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nicesai on GitHub (Oct 15, 2023).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/164
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?
@ismail-yilmaz commented on GitHub (Oct 15, 2023):
You can use smart text (RichText) in info widgets. Just use DrawSmartText function to paint text in the display.
Below is the modified version of uppsrc/reference/StatusBar example. It adds rich text support (Remember: there are also other ways to achive this):
`
Edit: Simplified the example.
Best regards,