Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. thumbnail problem

thumbnail problem

Scheduled Pinned Locked Moved C / C++ / MFC
help
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vasu_sri
    wrote on last edited by
    #1

    hello sir,, i am using (CThumbCtl1 class) microsoft component .. i created one object of this class in header file (ListView Class) afterthat iam creating thumbnails on view using member function that is my function ... but it is giving the error while Creation time of thumbnails... this is my int CListFormView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CFormView::OnCreate(lpCreateStruct) == -1) return -1; for(int i=0;i<14;i++) { if(!m_Thumb[i].Create(NULL,"strFileName",WS_CHILD|WS_VISIBLE,CRect(10,10,150,150),this,1000+i,0 )) { MessageBox("cant Create Thumb"); } } // TODO: Add your specialized creation code here j=0; return 0; } void CListFormView::DrawThumbnails(CString strFileName) //HANDLE draw the thumbnails in list control { if(!m_Thumb[j].displayFile(strFileName)) { m_Thumb[j].displayFile("D:\\destpreview.bmp"); } m_Thumb[j].BeginWaitCursor(); j++; }

    Regards, Srinivas

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups