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 » Community » Newbie corner » Making applications more fancy
Making applications more fancy [message #28221] Mon, 23 August 2010 22:31 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Hi,

Is it possible to change the backcolor of a menu bar? I guess this might make applications more attractive from the visual point of view.

In general, what other tricks are there in U++ to make an application more, let’s say, “elegant”?

Cheers,

Javier
Re: Making applications more fancy [message #28317 is a reply to message #28221] Fri, 27 August 2010 10:02 Go to previous messageGo to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Any suggestion? Is not visual attractiveness important?

Javier
Re: Making applications more fancy [message #28320 is a reply to message #28317] Fri, 27 August 2010 11:54 Go to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
Hi Javier,

Update: That will do the job
MenuBar::Style& s = MenuBar::StyleDefault().Write();
s.look = Red(); // Could be Color, Image, Your own value if you handle it (see Chameleon example)


Using ChStyle structure of each control you may alter it's look.

Andrei

[Updated on: Fri, 27 August 2010 12:02]

Report message to a moderator

Previous Topic: Passing Vectors as arguments of functions.
Next Topic: Selected option, show which is active
Goto Forum:
  


Current Time: Thu Apr 25 01:01:53 CEST 2024

Total time taken to generate the page: 0.03240 seconds