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. SHBrowseForFolder

SHBrowseForFolder

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
3 Posts 3 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
    viliam
    wrote on last edited by
    #1

    Does anyone can help discover way how to start folder dialog by SHBrowseForFolder function into any folder chosen by me? =how to set initial directory? Thank you for your help.

    J L 2 Replies Last reply
    0
    • V viliam

      Does anyone can help discover way how to start folder dialog by SHBrowseForFolder function into any folder chosen by me? =how to set initial directory? Thank you for your help.

      J Offline
      J Offline
      jmkhael
      wrote on last edited by
      #2

      check BROWSEINFO Papa while (TRUE) Papa.WillLove ( Bebe ) ;

      1 Reply Last reply
      0
      • V viliam

        Does anyone can help discover way how to start folder dialog by SHBrowseForFolder function into any folder chosen by me? =how to set initial directory? Thank you for your help.

        L Offline
        L Offline
        Leifen
        wrote on last edited by
        #3

        The BROWEINFO struct has a member lpfn where you define a Callback function. The Callback could the lokk like: switch(uMsg) { case BFFM_INITIALIZED: { if(!m_biark.IsEmpty()){ ::SendMessage(hwnd,BFFM_SETSELECTION,TRUE,(DWORD) ((LPCTSTR)m_biark)); } break; } default: break; }

        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