Click here to Skip to main content
Licence 
First Posted 9 Feb 2001
Views 212,192
Bookmarked 89 times

Using thumbnail images in a list control

By | 21 Jul 2006 | Article
How to use thumbnail images in a list control
  • Download demo project - 19.6 Kb

    Sample Image - Thumbnail.jpg

    Introduction

    The purpose of this article is to show you how to display thumbnail images in a list control.

    The demo project is very straightforward:

    It goes through a directory that the user specified to search for all the bitmap files, and stores their names in a dynamic vector, “m_VectorImageNames”. On clicking the “Load” button, It draws the thumbnails of the bitmaps in the list control by calling the function “DrawThumbnails ()”. It then draws the selected thumbnail image to fit into the image display area.

    Acknowledgements

  • 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

    About the Author

    Yi Ren

    Web Developer

    United States United States

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    NewsHi Yi Ren ! There is a very littile 'bug' in this demo project, PinmemberDavid_LoveCpp16:19 22 Sep '09  
    Generalhi,would you like answer me? I think it's important Pinmemberqinmingju6093:52 22 May '08  
    GeneralOther Image format Pinmembersugar721:47 2 Oct '07  
    GeneralOther image formats Pinmemberrindam19:20 25 Sep '07  
    Generalother image formats Pinmembermuff1nt0p11:40 18 Jun '07  
    Generalgdpi not initialized Pinmembergkbharadwaj0:19 6 Apr '07  
    GeneralRe: gdpi not initialized PinmemberGuillaume MICHEL5:29 17 Feb '11  
    GeneralOther Image Formats Pinmemberjerryshirley16:52 8 Oct '06  
    GeneralRe: Other Image Formats PinstaffChristian Graus17:25 8 Oct '06  
    GeneralMore contrast for the thumbnail images PinmemberIonut Codrut20:54 12 Sep '06  
    Generalother image formats Pinmemberjamesw20038:51 19 Jul '06  
    GeneralRe: other image formats Pinmemberyren16:24 20 Jul '06  
    QuestionRe: other image formats Pinmemberjamesw20034:07 25 Jul '06  
    GeneralRe: other image formats PinmemberNitaJou19:53 29 Aug '06  
    GeneralRe: other image formats Pinmemberkongxin15:44 28 Nov '06  
    QuestionHow to remove the name of the file Pinmemberalwittta20:34 28 Apr '06  
    AnswerRe: How to remove the name of the file Pinmemberyren18:29 29 Apr '06  
    GeneralCode update is coming Pinmemberyren16:58 1 Apr '06  
    GeneralRe: Code update is coming Pinmemberlovelr4:48 4 Jul '08  
    GeneralRe: Code update is coming Pinmemberhypcsky20:11 8 Aug '10  
    GeneralL/R mouce Pinmemberleven8:41 31 Mar '06  
    GeneralRe: L/R mouce Pinmemberyren16:46 1 Apr '06  
    GeneralDo Windows have API for Bitmap reading PinmemberKing Coffee19:08 14 Jan '05  
    GeneralRe: Do Windows have API for Bitmap reading Pinmemberyren16:45 1 Apr '06  
    Questioncould you please send me the code for further study? Pinmembersjice8019:50 20 Jul '04  

    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.

    Permalink | Advertise | Privacy | Mobile
    Web01 | 2.5.120517.1 | Last Updated 21 Jul 2006
    Article Copyright 2001 by Yi Ren
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid