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 #1979 is a reply to message #1973] Wed, 29 March 2006 11:29 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
luzr wrote on Wed, 29 March 2006 09:57

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


Thanks! Smile
 
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: Wed Jun 11 14:48:43 CEST 2025

Total time taken to generate the page: 0.06424 seconds