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 » Look and Chameleon Technology » look of ctrl with styled horz and vert scrollbars
Re: look of ctrl with styled horz and vert scrollbars [message #37829 is a reply to message #37827] Fri, 16 November 2012 07:44 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

kropniczki wrote on Fri, 16 November 2012 02:53

I got a TopWindow with a background painted Black() and added a number of NoBackground() Ctrls to it.
If a Ctrl needs to show both (styled) horizontal and vertical scroll bars at the same time, Ctrl right bottom corner square does not get painted accordingly (black).
Any clue on how to fix it?

index.php?t=getfile&id=3920&private=0

Thanks!!


Hi,

I believe that that little square is hardcoded to be painted in SColorFace color. So you can either modify that, but that will affect your entire application or you can make your own class which would inherit from ScrollBars and override FramePaint() - it is only three lines of code Smile

Alternative and probably better solution would be to modify ScrollBars to so that it can figure out the correct color from the style of the scrollbars it contains. Shouldn't be difficult too.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to change window background?
Next Topic: TopWindow skin
Goto Forum:
  


Current Time: Fri May 10 13:28:16 CEST 2024

Total time taken to generate the page: 0.02463 seconds