Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Background color of StaticText or EditString
Re: Background color of StaticText or EditString [message #54814 is a reply to message #54813] Thu, 17 September 2020 20:17 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1092
Registered: August 2007
Senior Contributor
Quote:
Is there a way to set vertical alignment?


Not unless you use a PaintRect (or override the Paint method) and draw the text/background yourself.

If you need full control over the style and position of text, I'd suggest using RichTextCtrl instead. It displays text/richtext with formatting (even hyperlinks) and supports background colors.

Best regards,
Oblivion


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing mouse icon with MouseEvent
Next Topic: Add Button crashes program on start
Goto Forum:
  


Current Time: Fri Apr 19 23:41:20 CEST 2024

Total time taken to generate the page: 0.03845 seconds