🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #924

Re: How to use BitBlt with a HBITMAP handle ?

#924
From: Remy Lebeau (TeamB)
Date: Tue, 18 Dec 2007 04:10
28 lines
1882 bytes
"Asger Joergensen" <junk@Asger-P.dk> wrote in message
news:MPG.21d14e86b29b3fb5989988@newsgroups.borland.com...

> Do I  need the palette in 24bit ?

No.

> Do You know if the HBITMAP returned from GetImageBitmap()
> is valid when images are aded to the System Imagelist after a call
> to SHGetFileInfo() ?

I doubt it.

> I have tried adding an OnChange event to the ImageList but
> that isn't called when the system adds images.

Of course not.  It is only triggered when you resize or change the
TImageList itself, assign its Handle property, or add/remove images.  There
are no system-generated notifications for ImageList modifications that occur
outside of the TImageList.

> Do You have some suggestions ?

What exactly are you having a problem with?


Gambit
Technical Details
Message-ID: <4767493c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <MPG.21d0abd3ce2daf26989982@newsgroups.borland.com> <4766b489$1@newsgroups.borland.com> <MPG.21d14e86b29b3fb5989988@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c61a90c52be804ea
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <MPG.21d0abd3ce2daf26989982@newsgroups.borland.com> <4766b489$1@newsgroups.borland.com> <MPG.21d14e86b29b3fb5989988@newsgroups.borland.com>
Subject: Re: How to use BitBlt with a HBITMAP handle ?
Date: Mon, 17 Dec 2007 20:10:34 -0800
Lines: 30
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: 75.83.29.61
Message-ID: <4767493c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1197951292 75.83.29.61 (17 Dec 2007 20:14:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail