How to set CListView's background image ?

Hello every one, I want to set a bmp file as the CListView control's(not CListCtrl)  background, I found CListView class has a class member function named SetBkImage, I can set an image file as listview's background by invoking it, but I can not set the listview's background mode to transparent. So, how can I set CListView's background ?
Tom_lydAsked:
Who is Participating?
 
bkfirebirdConnect With a Mentor Commented:
i was also working on something similar .... but after much fumbling, i decide to try GfXList .... its looks pretty neat
http://www.codeguru.com/Cpp/frameworks/advancedui/outlookcontrols/article.php/c3223/
0
 
AlexFMCommented:
Can you explain with more details what do you try to do? Background image or transparent background mode? How should it look?
0
 
joghurtCommented:
You may find some ideas from the codes here: http://codeproject.com/listctrl/
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Tom_lydAuthor Commented:
I want to set the listview's background with a bmp file or a jpg file, and when I insert an item, it can not override the background, but the CListView::SetBkItem can not do it, how can I do it ?
0
 
bkfirebirdCommented:
did you figure this one out ?
0
 
Tom_lydAuthor Commented:
No
0
 
bkfirebirdCommented:
try GetDC()->SetBkMode(TRANSPARENT)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.