Hi Rohit
I suspect the issue is how you are replacing the pixel. I'm no expert
in this but some of the painting / drawing routines do XORs etc of the
new and old colour depending on the API and parmters set. I would
check there first.
Hope that is some help.
Cheers
Rob
Robert Martin
Robert Martin
Software
development
manager
Chreos
www.chreos.co.nz
Ph +64 03 377-0495
Rohit Gupta wrote:
I am a little puzzled. I know that the system colours such as
clBtnFace are special constants. In one part of the app, when I
replace a pixel in a bitmap to clBtnFace it goes gray like it should.
In another part of the app it goes money-greeny. Both do it
consustently.
Any clues ? Do I need to convert these special colours to real colours
? I couldn't find any function to do it.
--
Regards
Rohit Gupta
B.E. Elec., M.E., Mem IEEE, Member IET
Technical Manager
Computer Fanatics Ltd
Tel 4892280
Fax 4892290
Web www.cfl.co.nz
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If
you are not the intended recipient, you must not use, distribute or
copy this email or attachments. If you have received this in error,
please notify us immediately by return email and then delete this email
and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
|
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe