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. MFC: CMFCShellTreeCtrl

MFC: CMFCShellTreeCtrl

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
2 Posts 2 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.
  • L Offline
    L Offline
    limseungkyun
    wrote on last edited by
    #1

    Hi :-) Before I say I can't English writing. So, Understand me please. I want to change property of CMFCShellTreeCtrl in MFC. But, I can't see anywhere. Question 1. Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl. Question 2. How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'. Help me please

    D 1 Reply Last reply
    0
    • L limseungkyun

      Hi :-) Before I say I can't English writing. So, Understand me please. I want to change property of CMFCShellTreeCtrl in MFC. But, I can't see anywhere. Question 1. Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl. Question 2. How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'. Help me please

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      limseungkyun wrote:

      Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl.

      Just guessing but that almost sounds like you'd need a second pane to show the contents of the selected folder (the tree control in the first pane).

      limseungkyun wrote:

      How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'.

      Is it not as simple as calling:

      CMFCShellTreeCtrl::SelectPath(_T("C:\\"))

      I've not ever used CMFCShellTreeCtrl so my suggestions may be way off.

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      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