 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Ullom Guest
|
Posted: Thu Apr 12, 2007 3:25 am Post subject: 2 TIamgeList Questions |
|
|
Hi All,
Question 1
Though I am able to add more than 21 bit maps to my TImageList,
I can display only the first 21. If I set the imageindex
property to 21 or higher, a blank image is displayed.
That is to say that the caption moves to accommodate the image,
but no image is visible. What is up with that?
Question 2
If I save images to a resource file and then load them from a
resource file, is the need for distributing the Comctl32.dll
file with my application eliminated?
Thanks and enjoy your day!
John Ullom |
|
| Back to top |
|
 |
Tiago Lima Trinidad Guest
|
Posted: Wed May 02, 2007 8:05 pm Post subject: Re: 2 TIamgeList Questions |
|
|
Hi!
John Ullom escreveu:
| Quote: | Hi All,
Question 1
Though I am able to add more than 21 bit maps to my TImageList,
I can display only the first 21. If I set the imageindex
property to 21 or higher, a blank image is displayed.
That is to say that the caption moves to accommodate the image,
but no image is visible. What is up with that?
|
Well, how large are your images?
| Quote: |
Question 2
If I save images to a resource file and then load them from a
resource file, is the need for distributing the Comctl32.dll
file with my application eliminated?
|
No, your application would still need to be linked with comctl32.dll
because TImageList uses the windows image list control. But this
shouldn't be a major problem because this dll comes with windows since
win95 IIRC.
Hope that helps!
| Quote: |
Thanks and enjoy your day!
John Ullom
|
Tiago Lima Trinidad |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|