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 » Menus&Toolbars » update state of a toolbar icon
Re: update state of a toolbar icon [message #6230 is a reply to message #6215] Fri, 03 November 2006 10:51 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Using ToolBar::Set.

Usually, I add method SetBar to may application that calls Set with proper callback and then call SetBar each time ToolBar needs refreshing.

There is quite smart update logic in SetBar so that things get repainted only if needed even if "SetBar" looks like rebuilding the toolbar from the scratch (in other words, calling SetBar is relatively cheap).

Mirek

 
Read Message
Read Message
Read Message
Previous Topic: ToolBar as Ctrl not as Frame [BUG?]
Next Topic: MenuBar does not show slahses
Goto Forum:
  


Current Time: Wed Apr 24 12:47:30 CEST 2024

Total time taken to generate the page: 0.03610 seconds