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 » how to chameleon the ScrollBar ctrl?
how to chameleon the ScrollBar ctrl? [message #50036] Mon, 25 June 2018 14:54 Go to next message
akebee is currently offline  akebee
Messages: 88
Registered: August 2011
Location: China
Member
Hi!
I still dont very understand how to change the deafult style of ctrl.
how to change the deafault look of the ScrollBar ?
Thanks!
Re: how to chameleon the ScrollBar ctrl? [message #50099 is a reply to message #50036] Fri, 27 July 2018 16:11 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1335
Registered: September 2007
Senior Contributor
You need a reference to the ScrollBar style:
ScrollBar::Style& d = ScrollBar::StyleDefault().Write();

Then you need to overwrite d.hlower, d.hthumb, d.hupper, d.vlower, d.vthumb, d.vupper with images.

It is fairly straight forward, with 2 buttons and the thumb.

There is little more to it with the up, down, left and right fields too.
Previous Topic: ArrayCtrl in Windows 10
Next Topic: LabelBox label font color
Goto Forum:
  


Current Time: Wed Dec 19 17:16:30 CET 2018

Total time taken to generate the page: 0.00623 seconds