Page 1 of 1

DcBrowse Cell Colors

Posted: Wed Nov 12, 2025 9:28 am
by PedroAlex
Hi Roger!

Can you help with this issue?

Image

1) The information in column 2 is incorrect.
2) It loses color when you move the selection bar.
Teste_Browse_MulLine_Color.rar
(222.24 KiB) Downloaded 18 times

Re: DcBrowse Cell Colors

Posted: Wed Nov 12, 2025 11:53 pm
by Wolfgang Ciriack
You have to set the color with an array with 4 values, f.e. {GRA_CLR_WHITE, GRA_CLR_RED, GRA_CLR_RED, NIL}
The values 1, 2 are for the normal color, the values 3, 4 for the color of the selected color.

Re: DcBrowse Cell Colors

Posted: Thu Nov 13, 2025 9:00 am
by rdonnay
I am looking at my source code now to try to figure out this problem.

I haven't visited this part of the code in many years.
The multiline stuff is rather complicated.

Re: DcBrowse Cell Colors

Posted: Mon Nov 17, 2025 2:03 am
by PedroAlex
Hi Roger,

The forum is now working perfectly.
If you could find a solution for the dcbrowse colors, that would be excellent.
Thank you very much for your support.

Re: DcBrowse Cell Colors

Posted: Mon Nov 17, 2025 11:01 am
by PedroAlex
Hi Roger,

I found a way to solve this problem using 'DC_XbpOwnerDrawBrowseGeneric()'

The colors in Multiline looks good.

but now I have another problem! The header does not work correct.
I dicover that if I rename the manifest file the header is correct, but i need the manifest file because in the main aplication where i want use this works with manifest file. So I can not use this solution yet.

Have you any ideia why the manifest file have this efect on the header presentation?
Any sugestion?
Thanks.
Teste_Browse_MulLine_Color.rar
(243.64 KiB) Downloaded 3 times
DML.jpg
DML.jpg (103.22 KiB) Viewed 17 times