U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Wed Sep 09 17:19:54 GMT+2 2026

Total time taken to generate the page: 0.00584 seconds