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?
1) The information in column 2 is incorrect.
2) It loses color when you move the selection bar.
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.

- DML.jpg (103.22 KiB) Viewed 2322 times
Re: DcBrowse Cell Colors
Posted: Thu Nov 20, 2025 7:44 am
by Auge_Ohr
hi.
PedroAlex wrote: ↑Mon Nov 17, 2025 11:01 am
but i need the manifest file because in the main aplication where i want use this works with manifest file.
show us your Manifest File
Re: DcBrowse Cell Colors
Posted: Thu Nov 20, 2025 10:38 am
by PedroAlex
Re: DcBrowse Cell Colors
Posted: Thu Nov 20, 2025 10:19 pm
by Auge_Ohr
hi,
PedroAlex wrote: ↑Thu Nov 20, 2025 10:38 am
it is included on the compressed file
sorry, have not download File yet
follow your "working" Link without
/PHPBB3/ in Link to download !
Try this Manifest
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--This Id value indicates the application supports Windows Vista functionality -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!--This Id value indicates the application supports Windows 7 functionality-->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<!--This Id value indicates the application supports Windows 8 functionality-->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!--This Id value indicates the application supports Windows 8.1 functionality-->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!--This Id value indicates the application supports Windows 10 functionality-->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="YourCompanyName.YourDivision.YourApp"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
Re: DcBrowse Cell Colors
Posted: Fri Nov 21, 2025 8:02 am
by PedroAlex
Hi Jimmy,
Your manifest The file doesn't make any difference.
However, I found a solution! I simply forget the "usevisualstyle" and "voila," everything works as I need.

- BCol.png (74.84 KiB) Viewed 1023 times
Anyway, thank you for your tip.