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 » ArrayCtrl, HeaderCtrl & GridCtrl » How to create a GridCtrl with fixed cell size
Re: How to create a GridCtrl with fixed cell size [message #16026 is a reply to message #16016] Fri, 23 May 2008 11:14 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
cbpporter wrote on Thu, 22 May 2008 20:15

mrjt wrote on Thu, 22 May 2008 19:38

2. ArrayCtrl::SetCtrl() ?

I think you misunderstood. I should have explained more clearly. I was wondering if there is a container which does not destroy it's items when it is destroyed, so basically it does not own them. I have a collection of type Foo and need to provide a number of "views" for those items, so I use Vector<Foo *>.

I did indeed, though the explanation was perfectly clear the first time Smile.

Vector<Foo *> seems a reasonable option (although you could use Vector< Ptr<Foo> >), but I'm struggling to think of a situation where this would be necessary. Can the view not just use a const reference to the Vector? Or does it need a special subset of items?
 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bad align of an optionbutton in gridctrl
Next Topic: GridCtrl - copy all [Feature Request]
Goto Forum:
  


Current Time: Sat Jun 21 01:09:34 CEST 2025

Total time taken to generate the page: 0.03087 seconds