Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-09

Patch: LCL: [Parent]Color fixes

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen

Hi,

Attached is a patch to fix the colors. The listbox gray background et al. I have commented the SetColor procedure in win32 interface because i'm not sure if it is functional...setting the color on a canvas which is immediately deleted again...Who has submitted that one? The background drawing is done in the LM_ERASEBACKGROUND anyway, not via SetBkColor.

HTH,

Micha.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00069.bin
Type: application/octet-stream
Size: 1581 bytes
Desc: "parentcolor2.patch.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030920/b2399cbe/bin00069.bin

Mattias Gaertner
to Micha Nelissen
Hi, Attached is a patch to fix the colors.

Applied. Thanks.

Mattias

Show quoted text 11 lines
The listbox gray background et al. I have commented the SetColor procedure in win32 interface because i'm not sure if it is functional...setting the color on a canvas which is immediately deleted again...Who has submitted that one? The background drawing is done in the LM_ERASEBACKGROUND anyway, not via SetBkColor. HTH, Micha.