Coloring Scroll Bars

forum.sourcecode (2000-2005) & (2005-2010)
Thomas Brandt

Coloring Scroll Bars

Post by Thomas Brandt » 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
Posts: 1207
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

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

Thomas Brandt

Coloring Scroll Bars

Post by Thomas Brandt » 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 did'nt post an easy-to-solve-problem:-)

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests