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 option ctrl?
icon7.gif  how to chameleon the option ctrl? [message #46518] Thu, 19 May 2016 11:18 Go to next message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
THE "chameleon" in reference shows how to skin a button with images,
but what about a option ctrl?
the style related code is complicate,can you help me how to skin a option ctrl
Razz
Re: how to chameleon the option ctrl? [message #46519 is a reply to message #46518] Thu, 19 May 2016 13:37 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I don't know if this information is accurate nowadays, but last time I did it, years ago, you needed to override CtrlsImg::I_O0 (normal), CtrlsImg::I_O0h (highlighted), CtrlsImg::I_O0p (pressed) and CtrlsImg::I_O0d (disabled). And repeat again for variants that replace 0 with 1 and 2, for checked and for "uncertain" option.

Use something like CtrlsImg::Set(CtrlsImg::I_O0, image) to set each individual image.

[Updated on: Thu, 19 May 2016 13:43]

Report message to a moderator

Previous Topic: Set fields side to other fields and fields width to text width
Next Topic: Article examples
Goto Forum:
  


Current Time: Fri Mar 29 11:37:37 CET 2024

Total time taken to generate the page: 0.01754 seconds