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 » Why Splitter::GetChildCount() is not public???- GetCount [SOLVED]
Re: Why Splitter::GetChildCount() is not public??? [message #1973 is a reply to message #1965] Wed, 29 March 2006 10:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The trouble of ChildGetCount is that in U++, it is "loop" function (you have to go through the list of child and count them) - you probably do not want to encourage users to depend on such method, you better to force them to organize things differently.

As for HeaderCtrl::GetCount, it is different beast altogether - HeaderCtrl column tabs are not Ctrls.

However, you might be right about Splitter. Therefore, it now has "GetCount", which returns the number of split-panes.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: setters of Splitter should return Splitter& [ADDED]
Next Topic: The case of the disappearing splitter.
Goto Forum:
  


Current Time: Mon May 06 02:16:29 CEST 2024

Total time taken to generate the page: 0.02341 seconds