realbasic-nug
[Top] [All Lists]

Re: Looking for a way query a Windows system for an icon associatedwith

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Looking for a way query a Windows system for an icon associatedwith a filename extension
From: "Steve Garman" <realbasic@garman.demon.co.uk >
Date: Wed, 30 Jul 2008 20:59:25 +0100
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <4890C307.1020803@rpgportland.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
> > Has anyone figured out how to do this?  If so, any tips would be much 
> > appreciated.

I haven't any code at the moment but in case it helps your search, I think
the Win APIs you are looking for are:

ExtractAssociatedIconA or ExtractAssociatedIconW (if the latter exists)
DrawIconEx
DestroyIcon

If you can't find any code, I'll try to work some out in a day or two.

-- 
Steve Garman
Using RB2008r2 Professional on Windows Vista Ultimate



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>