By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

Retrieve Icons Associated To An Extension?

P: n/a
Hello NG,

I have searched everyweher, and I am not able to find a solution...
basically, I am constructing a GUI with wxPython, in which I have a list.
In this list control, I have some file. I would like to associate (to every
file) its icon (on Windows). I have searched about the use of Mark
Hammond's win32all extensions and also ctypes, but I didn't find a
solution. Could anyone please provide a very simple example on how to
retrieve an icon associated to a file extension on Windows?

Thank you a lot.

Andrea.
------------------------------------------------------------------------------------------------------------------------------------------
Message for the recipient only, if received in error, please notify the
sender and read http://www.eni.it/disclaimer/
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
an***********@agip.it wrote:
Hello NG,

I have searched everyweher, and I am not able to find a solution...
basically, I am constructing a GUI with wxPython, in which I have a list.
In this list control, I have some file. I would like to associate (to every
file) its icon (on Windows). I have searched about the use of Mark
Hammond's win32all extensions and also ctypes, but I didn't find a
solution. Could anyone please provide a very simple example on how to
retrieve an icon associated to a file extension on Windows?


Check out MimeTypesManager in the wxPython demo app (under More
Windows/Controls). That seems to do what you want..

Will McGugan
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.