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 #16005 is a reply to message #16001] |
Thu, 22 May 2008 15:03   |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
Great! I never though about using a Converter for this. And since String is ref counted (and my strings are also short), it should be fairly quick to extract a field from the value this way.
I've done some code clean-up and am very happy with the result. I do miss the ColumnList look a little, so I'm going to add an option to switch between a ColumnList output and a GridCtrl one, with grid being default .
I still have 2 questions not 100% related to GridCtrl:
1. I noticed that displaying a large number of CJK characters is pretty slow. I tried replacing all the CJK characters with English ones, and the control was blazing fast again, so I don't believe it's related to GridCtrl. I wonder if there is a native limitation in the drawing sped of these chars (they are quite a bit more complex that other ones), or is this related to U++. I remember Mirek saying once that after he fixed some bugs regarding the determination of the metrics for these chars, it became slow, so he had to speed it up.
2. Is there an Array like container, but which does not free the memory occupied by it's items? I'm using Vector<Foo *> right now.
|
|
|
 |
|
How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 12:23
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 12:48
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 17:25
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 19:56
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 18:09
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 08:19
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 09:07
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Tue, 20 May 2008 10:49
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 11:13
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Tue, 20 May 2008 14:28
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 15:33
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 17:43
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Wed, 21 May 2008 15:58
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Wed, 21 May 2008 17:45
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Thu, 22 May 2008 12:10
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Thu, 22 May 2008 18:38
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Fri, 23 May 2008 11:14
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Sat, 24 May 2008 19:32
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 09 June 2008 10:08
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 17:23
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 12:34
|
Goto Forum:
Current Time: Tue Apr 29 23:23:05 CEST 2025
Total time taken to generate the page: 0.01002 seconds
|