DcBrowse Cell Colors

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
PedroAlex
Posts: 245
Joined: Tue Feb 09, 2010 3:06 am

DcBrowse Cell Colors

#1 Post 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
Attachments
BCol.png
BCol.png (48.64 KiB) Viewed 198 times
Pedro Alexandre

Wolfgang Ciriack
Posts: 496
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DcBrowse Cell Colors

#2 Post 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.
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4875
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DcBrowse Cell Colors

#3 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 245
Joined: Tue Feb 09, 2010 3:06 am

Re: DcBrowse Cell Colors

#4 Post 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.
Pedro Alexandre

User avatar
PedroAlex
Posts: 245
Joined: Tue Feb 09, 2010 3:06 am

Re: DcBrowse Cell Colors

#5 Post 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 15 times
Pedro Alexandre

Post Reply