🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Load Image with LoadResource

#3305
From: David Carbon
Date: Sat, 15 Jul 2006 11:03
21 lines
1349 bytes
Hi to Everybody.

It's my first post. I try use alphabitmaps in a RC File, but Borland
Resource Compiler say "Invalid bitmap format".
I think on other possibility, load the bitmap how LoadResource.

I have borland c++ 5.

If have a rc file:

test IMAGE "test.bmp"  <- testbmp is a 32bits AlphaBitmap


How can load this bitmap using LoadResource and Get the properly handle for
paint ???

Anybody have a easy and little sample ?????

Thank you very much,

David
Technical Details
Message-ID: <44b8cb9b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,43af6567608e0dc9,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Carbon" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Load Image with LoadResource
Date: Sat, 15 Jul 2006 13:03:56 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.43.232.156
Message-ID: <44b8cb9b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152961435 83.43.232.156 (15 Jul 2006 04:03:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail