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.
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.
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.
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.
<?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>