"Roser, Wayne" <[EMAIL PROTECTED]> wrote on 30/05/2001 16:51:44:
>
>I've got a nice bitmap that I want to include in my res file (Delphi
>4).
> I paste it into image editor, blink twice, and the palette is
> suddenly rubbish
>and the bitmap is suddenly not so nice. Can anyone help me with this?
Yup. Don't use the Image Editor.
Now for the slightly more informative answer:
Check the docs to see if Delphi can handle .rc files. BCB4Pro does, so
I assume Delphi does as well. If so, include your bitmap (sounds,
icons, strings, whatever) that way. Then you don't have to worry about
anything getting messed with, including the palettes in your bitmap, as
the file will get compiled into the res with no modifications to
content.
Failing that, go hunt the net for a free .rc compiler or resource
editor.
--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"