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 » ToolBar as Ctrl not as Frame [BUG?]
Re: ToolBar as Ctrl not as Frame [BUG?] [message #6028 is a reply to message #6027] Sat, 28 October 2006 23:38 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Found the Problem:

you need to refresh the layout because then the toolbar will be drawn - this is automagically called when the toolbar is used as Frame.

Why isn't Layout called when added to a Ctrl or when Repositioned (SetPos)?

is there a nicer solution instead of calling either RefreshLayoutDeep() or toolbar.RefreshLayout() ?

A solution could be to add RefreshLayout in the function ParentChanged(), or wouldn't that help?

Bas
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to disable focusing menu using TAB key
Next Topic: update state of a toolbar icon
Goto Forum:
  


Current Time: Mon Apr 29 10:23:02 CEST 2024

Total time taken to generate the page: 0.02987 seconds