Coloring Scroll Bars

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
TBrandt
Germany
Posts: 19
Joined: 01 Mar 2019, 15:34
Location: DE Mülheim Kärlich, Germany

Coloring Scroll Bars

Post by TBrandt » 27 Jun 2008, 14:51

 Posted by:  Thomas Brandt 

Hi, NG.

Still I do not know how to Set a color to a dynamic Scrollbar in a table
window ( as i described in some posts in the development forum ).

Please, help.

Thank you.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3321
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Coloring Scroll Bars

Post by Dave Rabelink » 27 Jun 2008, 23:01

I'm afraid it is not easily done.

The scrollbar and other non-client area's (like caption, borders etc)
are completely controlled by Windows and the colors and theme painting
are determined by the theme setting of the user.

I could be wrong, but I did try to find a easy way to overrule the
color settings of Windows to match the internal application custom
color settings, but I only could achieve this by custom drawing the
items. And believe me, owner drawing a scrollbar or other items is a
pain.

TBrandt
Germany
Posts: 19
Joined: 01 Mar 2019, 15:34
Location: DE Mülheim Kärlich, Germany

Re: Coloring Scroll Bars

Post by TBrandt » 30 Jun 2008, 09:49

 Posted by:  Thomas Brandt 

Thank you!! Although I feel a little destroyed, now, I am happy to read that
I didn't post an easy-to-solve-problem:-)

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests