Article View: borland.public.cppbuilder.nativeapi
Article #6922ImageList insert
From: xa
Date: Sun, 03 Apr 2005 10:36
Date: Sun, 03 Apr 2005 10:36
13 lines
1507 bytes
1507 bytes
Can anyone point me in the right direction for replacing an image in an ImageList with another same size image. The Image list i use is created at runtime and the images are used for a ListView...due to the time involved in loading the images into the ImageList i would like to be able to insert an edited image selection with the new image without having to reload the entire list of images into the ImageList to re-index them.. the index of the images is tied to other data so i cant have it just remove the other image and use the Add() function as it would put out the other data indexes. I did notice HIDESBASE Insert method for inserting a bitmap into an imagelist but not sure if this is the only way of doing it..
Technical Details
Message-ID:
<424fc6f2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ece920da0e48971e,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "xa" <pageme@ntlworld.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: ImageList insert Date: Sun, 3 Apr 2005 11:36:13 +0100 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 NNTP-Posting-Host: 81.103.71.168 Message-ID: <424fc6f2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112524530 81.103.71.168 (3 Apr 2005 03:35:30 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail