I have a simple test application with a list view using custom draw to change
the text background color. The list view uses a background image which I set
using
LVBKIMAGE img = {LVBKIF_SOURCE_URL, NULL, "file://C:\\source\\mcp\\ebs.jpg"};
ListView_SetBkImage(hList, &img);
I have a linker pragma comment that I use to engage comctl32.dll version 6
to get the XP visual styles:
#pragma comment (linker, "/manifestdependency:\"type='win32'
name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
Now the problem is that when using comctl 6, the list view items don't use
the background color specified in my custom draw handler. When using comctl
5, the background color is fine. Any ideas???
Seth