Click here to Skip to main content
11,414,234 members (74,402 online)
Click here to Skip to main content

The Windows Thumbnail Control

, 7 Feb 2000
Rate this:
Please Sign up or sign in to vote.
An application demonstrating the windows Thumbnail control
  • Download source files - 41 Kb
  • Sample Image - EasyFavorite.gif

    <!-- Article Starts -->

    The Windows Thumbnail control is used to show image thumbnails and internet shortcuts.

    See Microsoft for more information on the Thumbnail control.

    My sample application 'Easy-Favorite' uses the thumbnail control to show a thumnail of any web page. If you want to add your favorite internet link (URL) to Easy-Favorite, just drag & drop the URL from Internet Exporer or Netscape onto Easy-Favorite. So Easy!

    The sample application Easy-Favorite contains...

    • OLE Drag & Drop
    • ThumbCtl Control
    • How to insert CFormView derived class to Dialog based program
    • Create Short-Cut

    I think this article is very useful for shell program developers or IE developers. Any questions - send an email to me!



    Member of C.C.

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    Share

    About the Author

    Wooseok Seo
    Software Developer (Senior)
    Korea (Republic Of) Korea (Republic Of)
    Woo Seok Seo have been a Microsoft MVP for 7 years and have translated several books into Korean. Author of C# Programming for Beginner (DevPress, 2001), he is interested in Debugging techniques and .NET technology. Get in touch with Woo Seok Seo at wooseok.seo@gmail.com

    Comments and Discussions

     
    GeneralDoes not work Pin
    Armen Hakobyan, 9-Apr-02 5:32
    memberArmen Hakobyan9-Apr-02 5:32 
    GeneralThumbnails don't work Pin
    Julia Larson, 7-Apr-02 0:53
    memberJulia Larson7-Apr-02 0:53 
    GeneralIE 5.5+ Print Preview Pin
    Bill Kudrle, 6-Mar-02 11:02
    memberBill Kudrle6-Mar-02 11:02 
    GeneralWeb Page Pin
    Anonymous, 14-Feb-02 18:24
    memberAnonymous14-Feb-02 18:24 
    GeneralWorkaround Pin
    zizo, 2-Aug-01 1:23
    memberzizo2-Aug-01 1:23 
    i think a found a workaround for this problem.
    i also tried to use ThumbCtl with VC++ and it
    did not work, neither did with VB.
    but it DOES work within HTML documents.
    my workaround was to create a html document
    on the fly in my MFC app looking like this:

    <html>
    <body>
    <object id=Thumbnail classid="clsid:1D2B4F40-1F10-11D1-9E88-00C04FDCAB92" style="width: 150px; height: 150px;"></object>
    <script language="JavaScript">
    document.all.Thumbnail.displayFile("YOUR FILE HERE");
    </script>
    </body>
    </html>

    then, i display this HTML document in the MFC App using the WebBrowser
    ActiveX control.
    you can display html, jpeg, gif, bmp, ppt, wmf (even doc and xls files if saved
    with preview option) this way!




    GeneralRe: Workaround Pin
    x1877, 6-Jun-04 21:56
    memberx18776-Jun-04 21:56 
    GeneralThumbnails of webpages Pin
    Richard Osseweyer, 16-Mar-01 11:50
    memberRichard Osseweyer16-Mar-01 11:50 
    GeneralRe: Thumbnails of webpages Pin
    sunj, 23-Apr-01 16:18
    membersunj23-Apr-01 16:18 
    GeneralIE5 probs Pin
    Anonymous, 9-Nov-00 2:51
    memberAnonymous9-Nov-00 2:51 
    GeneralRe: IE5 probs Pin
    jonnyw, 9-Nov-00 13:31
    memberjonnyw9-Nov-00 13:31 
    GeneralRe: IE5 probs Pin
    evyatare, 24-Mar-01 23:56
    memberevyatare24-Mar-01 23:56 
    GeneralRe: [Q] IE5 probs Pin
    paraya, 29-Mar-01 15:51
    memberparaya29-Mar-01 15:51 
    GeneralRe: IE5 probs - source Pin
    Denis S., 26-Jun-01 22:18
    memberDenis S.26-Jun-01 22:18 
    Generalsave thumbnail to disk Pin
    zaffi, 11-Sep-00 4:03
    susszaffi11-Sep-00 4:03 
    GeneralRe: save thumbnail to disk Pin
    Smile Seo, 17-Sep-00 15:50
    sussSmile Seo17-Sep-00 15:50 
    Generalsave thumbnail to disk Pin
    zaffi, 11-Sep-00 4:03
    susszaffi11-Sep-00 4:03 
    QuestionHow does this work? Pin
    Steven Carleton, 19-Feb-00 7:51
    sussSteven Carleton19-Feb-00 7:51 
    AnswerRe: How does this work? Pin
    Robert Ibsen Voith, 9-Mar-00 5:57
    sussRobert Ibsen Voith9-Mar-00 5:57 
    AnswerRe: How does this work? Pin
    Bill, 16-Oct-00 6:48
    sussBill16-Oct-00 6:48 
    AnswerRe: How does this work? Pin
    evy, 25-Mar-01 0:07
    memberevy25-Mar-01 0:07 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Terms of Use | Mobile
    Web03 | 2.8.150427.2 | Last Updated 8 Feb 2000
    Article Copyright 2000 by Wooseok Seo
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid