Hello everyone!
I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.
I have made a list view with transparent background using following API:
SendMessage( GetDlgItem( hwnd, IDC_LIST1 ), LVM_SETBKCOLOR, (WPARAM)0,
(LPARAM)CLR_NONE );
Everything works fine, so I just wanted to make list view item's background transparent as well.
I have tried using the following API, hoping to achieve the same effect:
SendMessage( GetDlgItem( hwnd, IDC_LIST1 ), LVM_SETTEXTBKCOLOR, (WPARAM)0,
(LPARAM)CLR_NONE );
Items background
becomes black every time text is added to the item,
but its subitems are transparent as they should be.
I have tried using custom draw, although I have never done custom draw before, specifying CLR_NONE, as text's background, but the effect is the same.
Everything works fine, if I specify some "normal" color as list view's background, yet if I try with CLR_NONE, I always get black background in list view's items( again, subitems are painted correctly ).
Please help, with some suggestions/ code examples/ links/ tutorials, I doubt I can solve this on my own.
That would be all, thanks again to everyone who will try to help.
I work in MS Visual Studio Express 2008, on Windows XP, in C++, using pure WIN32 API.
If any other information is required ( source code or something similar ), please ask for it, I will more than gladly supply it.