DcBrowse Cell Colors

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
PedroAlex
Posts: 247
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 48 times
Attachments
BCol.png
BCol.png (48.64 KiB) Viewed 2483 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: 247
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: 247
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 36 times
DML.jpg
DML.jpg (103.22 KiB) Viewed 2300 times
Pedro Alexandre

User avatar
Auge_Ohr
Posts: 1446
Joined: Wed Feb 24, 2010 3:44 pm

Re: DcBrowse Cell Colors

#6 Post 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
greetings by OHR
Jimmy

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

Re: DcBrowse Cell Colors

#7 Post by PedroAlex »

Hi Jimmy
it is included on the compressed file
http://bb.donnay-software.com/Donnay/do ... hp?id=2350
Pedro Alexandre

User avatar
Auge_Ohr
Posts: 1446
Joined: Wed Feb 24, 2010 3:44 pm

Re: DcBrowse Cell Colors

#8 Post 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>
greetings by OHR
Jimmy

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

Re: DcBrowse Cell Colors

#9 Post 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
BCol.png (74.84 KiB) Viewed 1001 times
Anyway, thank you for your tip.
Pedro Alexandre

Post Reply