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 and gray color in layout
Re: Toolbar and gray color in layout [message #6182 is a reply to message #6179] Wed, 01 November 2006 20:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, I have altered bar code a little, please try in CtrlLib/Bar.cpp

void BarPane::Paint(Draw& w)
{
	Size sz = GetSize();
	Ctrl *q = GetParent();
	if(!q || !q->IsTransparent())
		w.DrawRect(sz, menu ? (GUI_GlobalStyle() >= GUISTYLE_XP ? SColorMenu : SColorFace) : SColorFace);
....


and them make your ToolBar Ctrl transparent (by calling "Transparent" method).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MenuBar does not show slahses
Next Topic: CtrlImg::new_doc()
Goto Forum:
  


Current Time: Sun Apr 28 16:56:51 CEST 2024

Total time taken to generate the page: 0.06462 seconds