Article View: borland.public.cppbuilder.nativeapi
Article #14979Re: How to preview custom file format in Explorer
From: Jonathan Arnold
Date: Thu, 24 Jul 2003 14:05
Date: Thu, 24 Jul 2003 14:05
24 lines
2094 bytes
2094 bytes
Joseph F. Muscarella wrote:
> I want to have Windows Explorer display the file's image in the preview when
> a user selects a file. Since the file is not a BMP, GIF or JPG, Windows
> doesn't know how to render it. Is there some way to hook my rendering
> engine into Windows so my files can be previewed?
>
> As a possibly related question, how can I customize the File Open dialog to
> get a similar preview? If I have to build a custom open dialog, how do I
> get it to look/feel like the built-in Windows dialogs?
I don't have a direct page to go to, but I'm sure if you search MSDN for
this info, you will find your answer. It has to do with interfacing with
the shell:
http://msdn.microsoft.com
Another option is to use a component. On my site, look for shell
extensions.
--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
Technical Details
Message-ID:
<3f1fe78d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f1eeff8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e95529f2cb763b0f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-24 07:12:06 PST Date: Thu, 24 Jul 2003 10:05:02 -0400 From: Jonathan Arnold <jdarnold@buddydog.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to preview custom file format in Explorer References: <3f1eeff8@newsgroups.borland.com> In-Reply-To: <3f1eeff8@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.92.76.225 Message-ID: <3f1fe78d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059055501 66.92.76.225 (24 Jul 2003 07:05:01 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail