Hello,
I'm writing a application with a ListCtrl which needs to fetch icons
from the Windows system image list (it's a list of files, I need their
icons).
FileZilla just subclasses ListCtrl and assigns the handle to the
m_hImageList member [1]. But in wxPython I can't do that.
Is there any way to make it work?
Thanks,
Conrado
[1] http://filezilla.svn.sourceforge.net/viewvc/filezilla/FileZilla3/trunk/src/interface/systemimagelist.h?revision=1630&view=markup
Conrado,
Hello,
I'm writing a application with a ListCtrl which needs to fetch icons
from the Windows system image list (it's a list of files, I need their
icons).
FileZilla just subclasses ListCtrl and assigns the handle to the
m_hImageList member [1]. But in wxPython I can't do that.
Is there any way to make it work?
Thanks,
Conrado
[1] FileZilla® download | SourceForge.net
Try asking at the pywin32 mailing group about extracting the images. Once you have those, they may work in wxPython.
http://mail.python.org/mailman/listinfo/python-win32
Mike
Thanks, I've missed that!
But I have another question... through the MimeTypesManager I can load
the 32x32 icon, but I want the 16x16 one. Is there any way to do that?
Thanks,
Conrado
···
On Mon, Apr 28, 2008 at 7:54 PM, Robin Dunn <robin@alldunn.com> wrote:
Ah, I should have realized that was what you were wanting to do. You can
get system file type icons via the MimeTypesManager class.