system icon on wxTree

Hi,
i was trying to build a tree element in which the items are file on the user pc.
I would like to attach to these items the registered system icons automatically, is this possible ?

Alessandro Crugnola [aka] sephiroth
Flash | PHP Developer
http://www.sephiroth.it

Team Macromedia Volunteer for Flash
http://www.macromedia.com/go/team

Alessandro Crugnola *sephiroth* wrote:

Hi,
i was trying to build a tree element in which the items are file on the user pc.
I would like to attach to these items the registered system icons automatically, is this possible ?

For registered file types you can get the icons from wxMimeTypesManager.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks, I was able to do that, but the problem is that, since i'm using an
magelist of 16x16, the icon i receive from the wxMimeTypesManager appears
very ugly...
i'm setting their size to 16x16..

···

Alessandro Crugnola *sephiroth* wrote:

Hi,
i was trying to build a tree element in which the items are file on
the user pc. I would like to attach to these items the registered
system icons automatically, is this possible ?

For registered file types you can get the icons from
wxMimeTypesManager.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org

wishmaster@sephiroth.it wrote:

Thanks, I was able to do that, but the problem is that, since i'm using an
magelist of 16x16, the icon i receive from the wxMimeTypesManager appears
very ugly...
i'm setting their size to 16x16..

Converting to wxImage, resizing and converting back to bitmaps might help them look a little better.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!