Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by David Carbon
Sat, 15 Jul 2006 11:03
Load Image with LoadResource
Author: David Carbon
Date: Sat, 15 Jul 2006 11:03
Date: Sat, 15 Jul 2006 11:03
21 lines
1349 bytes
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
Re: Load Image with LoadResource
Author: David Carbon
Date: Sat, 15 Jul 2006 17:13
Date: Sat, 15 Jul 2006 17:13
33 lines
1669 bytes
1669 bytes
Hi! Thanks i resolved! :-) "David Carbon" <no.spam@no.spam.com> escribi๏ฟฝ en el mensaje news:44b8cb9b$1@newsgroups.borland.com... > 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 > > >
Re: Load Image with LoadResource
Author: Bob Gonder
Date: Sat, 15 Jul 2006 17:30
Date: Sat, 15 Jul 2006 17:30
25 lines
1755 bytes
1755 bytes
David Carbon wrote: >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 ??? You might look at this http://www.codeguru.com/cpp/w-d/dislog/splashscreens/article.php/c5023/ Which seems to imply this usage: test BITMAP "test.bmp" alpha BITMAP "alpha.bmp" hTest = LoadBitmap( hInstance, "test"); hAlpha = LoadBitmap( hInstance, "alpha");
Re: Load Image with LoadResource
Author: Mike Collins
Date: Tue, 18 Jul 2006 23:14
Date: Tue, 18 Jul 2006 23:14
14 lines
1473 bytes
1473 bytes
for what it is worth, i have had nothing but hassels using both borland resource workshop and VC++ for creating resource files with high resolution bitmap and 32-bit colour / XP icons with alpha masking - the only package i could find that handeled all these was ResourceBuilder from SiComponets. HTH Mike C "David Carbon" <no.spam@no.spam.com> wrote in message news:44b8cb9b$1@newsgroups.borland.com... > Hi to Everybody. > > It's m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads