Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Reading Explorer Shell Thumbnails (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: RB 2006r3 Listbox Vertical down-arrow bug
Next thread: Re: Non-ascii file names or Shell Command workaround


Win32 API Declares   -   Berg, Heath
  Reading Explorer Shell Thumbnails   -   GregO
    re: Reading Explorer Shell Thumbnails   -   E. Lysander
     Re: Reading Explorer Shell Thumbnails   -   GregO

Reading Explorer Shell Thumbnails
Date: 02.08.06 16:19 (Wed, 2 Aug 2006 11:19:22 -0400)
From: GregO
I am working with another vendor to be able to read thumbnails of his
files as pictures into my application. They said they are using a
"standard explorer shell method" for generating thumbnails in
windows. Anyone know if I can tap into this in Windows to get the
information I need?

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

re: Reading Explorer Shell Thumbnails
Date: 02.08.06 20:06 (Wed, 02 Aug 2006 19:06:47 +0000)
From: E. Lysander
perhaps Dino has your answer see:
http://msdn.microsoft.com/msdnmag/issues/01/11/XPShell/default.aspx

look for IExtractImage --- I have doubts about RB and COM -- too much
windows knowledge needed, but maybe someone from ?? knows.

e.

=?DGD?DGD?DGD?DGD?DGD?DGDessage: 9
Subject: Reading Explorer Shell Thumbnails
From: GregO <<email address removed>>
Date: Wed, 2 Aug 2006 11:19:22 -0400

I am working with another vendor to be able to read thumbnails of his
files as pictures into my application. They said they are using a
"standard explorer shell method" for generating thumbnails in
windows. Anyone know if I can tap into this in Windows to get the
information I need?

GregO

=gDD?DGD?DGD?DGD=
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Reading Explorer Shell Thumbnails
Date: 02.08.06 21:17 (Wed, 2 Aug 2006 16:17:55 -0400)
From: GregO
Wow, that was the most helpful doc I've read all day! Thanks!

The article states that if you want windows to be able to extract
thumbnails of your documents, you need to create a "thumbnail
extractor" COM object. Now I understand that I can create an
OLEobject to wrap around the COM (which i need to find out from the
vendor what the identifier is)

Now on to the next question...Am I going to be able to implement
these methods using RB?

STDMETHOD (GetLocation) (
LPWSTR pszPathBuffer,
DWORD cchMax,
DWORD *pdwPriority,
const SIZE *prgSize,
DWORD dwRecClrDepth,
DWORD *pdwFlags);
STDMETHOD (Extract) (HBITMAP *);

HRESULT CMyExtractor::Extract(HBITMAP* phThumbnail)
{
HICON hi = ExtractIcon(NULL, m_szFile, 0);
ICONINFO ii;
GetIconInfo(hi, &ii);

*phThumbnail = ii.hbmColor;

DestroyIcon(hi);
return NOERROR;
}

Or am I going to need to create my own DLL wrapper. Sorry for the
basic questions, but I am TOTALLY LOST!

GregO

On Aug 2, 2006, at 3:06 pm, E. Lysander wrote:

> perhaps Dino has your answer see:
> http://msdn.microsoft.com/msdnmag/issues/01/11/XPShell/default.aspx
>
> look for IExtractImage --- I have doubts about RB and COM -- too
> much windows knowledge needed, but maybe someone from ?? knows.
>
> e.
>
> ==========================
> essage: 9
> Subject: Reading Explorer Shell Thumbnails
> From: GregO <<email address removed>>
> Date: Wed, 2 Aug 2006 11:19:22 -0400
>
> I am working with another vendor to be able to read thumbnails of his
> files as pictures into my application. They said they are using a
> "standard explorer shell method" for generating thumbnails in
> windows. Anyone know if I can tap into this in Windows to get the
> information I need?
>
> GregO
>
> ===================
>
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search! http://
> search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>