U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sat May 30 02:20:34 GMT+2 2026

Total time taken to generate the page: 0.00598 seconds