I worked with Michael (Rudrich) on a custom multirow class to get toggled background colors working, and I refined this class to show different fonts in cells within the same columns and even to show icons for example (see screenshot). The possibilities of this - very specialized - class end at "visualstyle" (so I don't use visual styles in this class). I guess, using "CustomDrawCell" would lead into the right direction. Using visual styles with 1.9/SL1 and Vista or Windows 7 with the Areo Theme lead to the problem that foreground colors for cells are ignored/default to black (as you can see in the sample aswell, browse at the bottom), while background colors still work. Did anyone here play with "CustomDrawCell" already? In my opinion, this method/callback should allow to draw almost anything in a cell, but I had no time to investigate this yet.
Tom.
Attachments
Colored multirow browse
multirow.jpg (136.07 KiB) Viewed 9088 times
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
I worked on the Multi-Cell browse many years ago and realized that it was very limited. I also had the same problem with colors. Alaska does not provide the source for the XbpCellGroup class because it was written in C so there was no way to modify its behavior.
You may want to try the Codejock ListBox.
listbox.jpg (45.55 KiB) Viewed 9056 times
The eXpress train is coming - and it has more cars.