Re: CListCtrl transparent
I wanted to do something similar where I put a bitmap on the back of a list
control when it didn't have any items in it and I just used a big bitmap
button that I show or hide depending on the number of items in the list
control (0 or more).
You might find this to be an interesting approach, although I'm not a big
fan of busy backgrounds like this article illustrates:
http://www.czvc.com/tech/MFC%20Programmer's%20SourceBook/listview/background_image.shtml.htm
Tom
"Scott Kraemer" <skraemer8@cox.net> wrote in message
news:%23qss7Sf6HHA.536@TK2MSFTNGP06.phx.gbl...
Anyone have a example of how to make a CListCtrl Transparent? I see
example os setting a background image, but I want the image from my dialog
to show through.
My attempts to set the extended style didn't work. I event tried to use:
SetWindowLong(m_chat.m_hWnd, GWL_EXSTYLE, WS_EX_TRANSPARENT);
and that didnt work. I am guessing I have to use some sort of OwnerDraw.
Thanks!
Scott