create a text file.
call it bitmaps.rc (for examples sake)

add the following
MYBITMAP BITMAP c:\mybitmap.bmp

Where MYBITMAP will be the name to reference to load the bitmap in your app
and c:\mybitmap.bmp is
the location of the bitmap file.
compile your bitmaps.rc file with brcc32.exe (found in the bin directory
under delphi install path).
compile it (brcc32 bitmaps.rc)
You will get a bitmaps.res file.  Now include it into your application
using the $R compile directive.  {$R bitmaps.res}
You can then load the resource by name MYBITMAP.

Image editor can behave funny with 256 bitmaps.
It's a windows / color palette issue, or it could your display drivers
being out of date.
There is one particular graphics chipset that people seem to have all sorts
of issues with.
I can't remember it off the top of my head though.

Hope this was of some use...
JED



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

**********************************************************************
---------------------------------------------------------------------------
    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"

Reply via email to