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. Other Discussions
  3. Article Writing
  4. Anyone got SHGetFileInfo with Windows CE

Anyone got SHGetFileInfo with Windows CE

Scheduled Pinned Locked Moved Article Writing
tutorialhelp
1 Posts 1 Posters 1 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.
  • B Offline
    B Offline
    Bruce Hearder
    wrote on last edited by
    #1

    Hi all. Has anyone got an example of using SHGetFileInfo to access the system imagelist. No matter what I use it keeps return an imagelist with nothing in it.. Any examples floating aroung on how to do this The code I'm using is as follows : SHFILEINFO shFinfo; HIMAGELIST hImgList = NULL; hImgList = (HIMAGELIST)SHGetFileInfo( _T("Windows"), 0, &shFinfo,sizeof( shFinfo )*sizeof(TCHAR), SHGFI_SYSICONINDEX| SHGFI_SMALLICON ); if ( !hImgList ) { AfxMessageBox(_T("Cannot retrieve the Handle of System ImageList!")); return FALSE; } m_smallImageList.Attach(hImgList); All help extremely appreciated..

    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