Page 1 of 1

Selected items in wxListCtrl not visible

Posted: Sat Mar 21, 2009 4:34 pm
by shuffle2
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 :)

Posted: Mon Mar 23, 2009 2:19 am
by protocol
I've never had any issues with it. Also, I use GIFs - 256 color, no dither with transparency.

regards.

Posted: Tue Mar 24, 2009 7:34 pm
by shuffle2
I'll try with that format and post back.