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 » Splitter » add controls to splitter bar, how? [NEEDS MORE IMPLEMENTATION...]
Re: add controls to splitter bar, how? [message #1889 is a reply to message #1878] Fri, 24 March 2006 23:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Fri, 24 March 2006 11:58

ok, in fact, semi-working example is this:
.....
First problem is that position returned from splitter is in different units than from other controls...
Second problem is that in this case I need to catch splitter bar events and update button position...

What I wanted was the same like for HeaderCtrl - public access Splitter Bar...


SOrry, missed this followup...

Well, I guess Frame could solve this:

If I undestand you well, you need the option at the top of view area. You can easily add one by adding FrameCtrl to it.

Something line

FrameTop<Option> top;
top.Height(Draw::GetStdFontCy());
ed1.AddFrame(top);

..I guess that you will need some more complicated composition than Option there (Option is not opaque to start with), but as the first step....

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how programatically change widths/heights of splitted controls? [SOLVED]
Next Topic: setters of Splitter should return Splitter& [ADDED]
Goto Forum:
  


Current Time: Fri Apr 26 14:00:16 CEST 2024

Total time taken to generate the page: 0.05401 seconds