Can I use alpha bmp in my "rc" file with BCC 5.5 ?
If I try to compile the sample "buildx.bat testbutn" it makes:
"Error testbutn.RC 11 15: Invalid bitmap format"
May be I do something wrong?
alpha bitmap in resources
alpha bitmap in resources
Best regards!
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: alpha bitmap in resources
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Re: alpha bitmap in resources
Thanks a lot Mr Daniel!
I don't know Spanish, but if I understand right, I can use alphabmp in "rc" only with Microsoft rc.exe.
Thanks again!
I don't know Spanish, but if I understand right, I can use alphabmp in "rc" only with Microsoft rc.exe.
Thanks again!
Best regards!
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
- Antonio Linares
- Site Admin
- Posts: 42644
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 59 times
- Been thanked: 93 times
- Contact:
Re: alpha bitmap in resources
Sergey,
> I can use alphabmp in "rc" only with Microsoft rc.exe
You can also use it with Borland brc32.exe if you specify ALPHABITMAP instead of BITMAP in the RC file:
button ALPHABITMAP "button.bmp"
> I can use alphabmp in "rc" only with Microsoft rc.exe
You can also use it with Borland brc32.exe if you specify ALPHABITMAP instead of BITMAP in the RC file:
button ALPHABITMAP "button.bmp"
Re: alpha bitmap in resources
Mr Antonio, I already tried this way, but if I make this changes in testbutn.rc:
testbutn.exe builds without errors, but visa.bmp isn't paints on button...
Anyway, Thank you for help, with MC "rc.exe" everything work very well !
Code: Select all | Expand
button ALPHABITMAP "../bitmaps/AlphaBmp/visa.bmp"
testbutn.exe builds without errors, but visa.bmp isn't paints on button...
Anyway, Thank you for help, with MC "rc.exe" everything work very well !
Best regards!
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
Sergey (Loach) Abelev
fwh 9.04/xHarbour 1.2.1 (Rev. 6406)/Bcc55
Re: alpha bitmap in resources
testbutn.exe builds without errors, but visa.bmp isn't paints on button...
Anyway, Thank you for help, with MC "rc.exe" everything work very well !
I Agree with Mr.Loach,
If in .RC file, AlphaBmp is specified as ALPHABITMAP then Borland Resource compiler compiles Alpha BMP's without errors, but the image will not be displayed in the FWH App.
When I checked the .Res file using PellesC, it seems that the Alpha BMP is treated as unknown/other
But if I use PellesC Resource Compiler then everything is working fine.
Regards
Anser