Article View: borland.public.cppbuilder.nativeapi
Article #5711Re: Problems with LoadImage and ResInstLoad
From: Remy Lebeau (TeamB)
Date: Wed, 20 Jul 2005 16:10
Date: Wed, 20 Jul 2005 16:10
17 lines
1685 bytes
1685 bytes
"Mike Collins" <its@thebottomofthe.post> wrote in message news:42de1f56$1@newsgroups.borland.com... > it still seems there is a bug with the ResInstLoad() and > ResourceLoad() methods of TImageList. If there is, then the bug is in the OS itself, because all ResInstLoad() and ResourceLoad() do is call into the Win32 API (specifically, the ImageList_LoadImage() macro) to do the actual loading. ResInstLoad() and ResourceLoad() both call TCustomImageList::CopyImages() after calling ImageList_LoadImage(). CopyImages() uses TBitmap and Add() internally, so the OS would have to be loading 16-color images to begin with in order for Add() to be adding 16-color images into the TImageList. Gambit
Technical Details
Message-ID:
<42de780c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<42dda33d@newsgroups.borland.com> <42ddb6ff$1@newsgroups.borland.com> <42de1f56$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3637b9fcce8b4510 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42dda33d@newsgroups.borland.com> <42ddb6ff$1@newsgroups.borland.com> <42de1f56$1@newsgroups.borland.com> Subject: Re: Problems with LoadImage and ResInstLoad Date: Wed, 20 Jul 2005 09:10:36 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42de780c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121875980 68.69.17.41 (20 Jul 2005 09:13:00 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail