Selected items in wxListCtrl not visible

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
shuffle2
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Mar 21, 2009 3:24 pm

Selected items in wxListCtrl not visible

Post by shuffle2 » Sat Mar 21, 2009 4:34 pm

Yes, I have read this thread:
http://forums.wxwidgets.org/viewtopic.p ... e+listctrl

However, I am still having exactly the same issue (image background isn't transparent, and on selection the image is opaque white on windows xp)

Also, I don't know exactly what the poster meant by "The images have to be added to the image list with transparency."
I tried all methods of "forcing" transparency I could think of, to no avail.

If there is a way to do it with wxListCtrl, please let me know. Otherwise, I guess I'll have to use wxDataViewCtrl?

Code can be found here: http://code.google.com/p/dolphin-emu/so ... stCtrl.cpp
mainly the functions:
void CGameListCtrl::InitBitmaps()
void CGameListCtrl::InsertItemInReportView(long _Index)
pertain to the issue.

Thanks in advance :)

protocol
Moderator
Moderator
Posts: 680
Joined: Wed Jan 18, 2006 6:13 pm
Location: Dallas, TX
Contact:

Post by protocol » Mon Mar 23, 2009 2:19 am

I've never had any issues with it. Also, I use GIFs - 256 color, no dither with transparency.

regards.
/* UIKit && wxWidgets 2.8 && Cocoa && .Net */
QuRegExmm
wxPCRE & ObjPCRE - Regex It!

shuffle2
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Mar 21, 2009 3:24 pm

Post by shuffle2 » Tue Mar 24, 2009 7:34 pm

I'll try with that format and post back.

Post Reply