Thanks for responding everyone.
The final question for me now is: where do I get the icons from?
Is there a central database that the Windows Explorer uses?
It is quite important at any moment to show EXACTLY THE SAME icons as the
Windows Explorer would. SO I'd like to tap into the same source instead of
making copies and keeping them up-to-date.
--eric
···
**********************************************************************
De informatie verzonden met dit e-mailbericht (en bijlagen)
is uitsluitend bestemd voor de geadresseerde(n) en zij die
van de geadresseerde(n) toestemming kregen dit bericht te
lezen. Gebruik door anderen dan geadresseerde(n) is
verboden. De informatie in dit e-mailbericht (en bijlagen)
kan vertrouwelijk van aard zijn en kan binnen het bereik
vallen van een geheimhoudingsplicht en een verschonings-
recht.
Any information transmitted by means of this email (and any
of its attachments) is intended exclusively for the addressee
or addressees and for those authorized by the addressee
or addressees to read this message. Any use by a party
other than the addressee or addressees is prohibited.
The information contained in this email (or any of its
attachments) may be confidential in nature and fall under a
pledge of secrecy and the attorney-client privilege.
**********************************************************************
If you want to show EXACTLY THE SAME icons as Windows Explorer then
you'll probably have to talk to MS about getting a license to use them
as I believe they are copyrighted by MS.
···
On Mon, 2002-01-07 at 10:38, Nieuwland, Eric wrote:
Thanks for responding everyone.
The final question for me now is: where do I get the icons from?
Is there a central database that the Windows Explorer uses?
It is quite important at any moment to show EXACTLY THE SAME icons as the
Windows Explorer would. SO I'd like to tap into the same source instead of
making copies and keeping them up-to-date.
--eric
**********************************************************************
De informatie verzonden met dit e-mailbericht (en bijlagen)
is uitsluitend bestemd voor de geadresseerde(n) en zij die
van de geadresseerde(n) toestemming kregen dit bericht te
lezen. Gebruik door anderen dan geadresseerde(n) is
verboden. De informatie in dit e-mailbericht (en bijlagen)
kan vertrouwelijk van aard zijn en kan binnen het bereik
vallen van een geheimhoudingsplicht en een verschonings-
recht.
Any information transmitted by means of this email (and any
of its attachments) is intended exclusively for the addressee
or addressees and for those authorized by the addressee
or addressees to read this message. Any use by a party
other than the addressee or addressees is prohibited.
The information contained in this email (or any of its
attachments) may be confidential in nature and fall under a
pledge of secrecy and the attorney-client privilege.
**********************************************************************
We actually did this in a proprietary project a few years ago. No need for licenses if you just go through the APIs provided by Windows AFAICS. You use the Shell APIs (see MSDN). I think that gave you everything including preview icons and the like, but I don't really recall. Last I checked (more than a year ago) there was no Python wrapper for the API needed, though.
Who knows, maybe that's what wxPython is using under the covers here :).
Enjoy,
Mike
Tom Jenkins wrote:
If you want to show EXACTLY THE SAME icons as Windows Explorer then
you'll probably have to talk to MS about getting a license to use them
as I believe they are copyrighted by MS.
Thanks for responding everyone.
The final question for me now is: where do I get the icons from?
Is there a central database that the Windows Explorer uses?
It is quite important at any moment to show EXACTLY THE SAME icons as the
Windows Explorer would. SO I'd like to tap into the same source instead of
making copies and keeping them up-to-date.
--eric
...
···
On Mon, 2002-01-07 at 10:38, Nieuwland, Eric wrote:
The final question for me now is: where do I get the icons from?
As I said before, wxMimeTypesManager will give you the icons on the fly for
each registered file type. See the demo for an example. You can enter a
file extension or click on a registered mime-type and if there is an icon
for that type of file then it will be shown.
If there is not a registered icon then you'll have to come up with your own.
Is there a central database that the Windows Explorer uses?
It is quite important at any moment to show EXACTLY THE SAME icons as the
Windows Explorer would. SO I'd like to tap into the same source instead of
making copies and keeping them up-to-date.
Explorer does the same thing that wxMimeTypes manager does to get registered
icons for specific file types.