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 PROTECTED]>
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>

Reply via email to