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. Customize CFileDialog?

Customize CFileDialog?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
7 Posts 4 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.
  • B Offline
    B Offline
    bosfan
    wrote on last edited by
    #1

    Hi all, i make a nice CMyFileDialog derived from CFileDialog that works fine for my need, but i need just one function for my Dialog and this is when a user select some file in a list to catch this event, something like: "OnItemChange", is this possible, something like CListCtrl function itemchange??? If yes can someone give me a suggestion how to do this? Best Regards bosfan

    J D S 3 Replies Last reply
    0
    • B bosfan

      Hi all, i make a nice CMyFileDialog derived from CFileDialog that works fine for my need, but i need just one function for my Dialog and this is when a user select some file in a list to catch this event, something like: "OnItemChange", is this possible, something like CListCtrl function itemchange??? If yes can someone give me a suggestion how to do this? Best Regards bosfan

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

      Maybe this[^]thread may help.

      B 1 Reply Last reply
      0
      • B bosfan

        Hi all, i make a nice CMyFileDialog derived from CFileDialog that works fine for my need, but i need just one function for my Dialog and this is when a user select some file in a list to catch this event, something like: "OnItemChange", is this possible, something like CListCtrl function itemchange??? If yes can someone give me a suggestion how to do this? Best Regards bosfan

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

        Check out the lpfnHook member.

        "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

        "Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous

        B 1 Reply Last reply
        0
        • J jeron1

          Maybe this[^]thread may help.

          B Offline
          B Offline
          bosfan
          wrote on last edited by
          #4

          Hi, thanks for answer, but in this example works only if you know the id of a list control, e.g. my own list controls on a dialog where i give the id to the ctrl? Right? Best Regards bosfan

          1 Reply Last reply
          0
          • B bosfan

            Hi all, i make a nice CMyFileDialog derived from CFileDialog that works fine for my need, but i need just one function for my Dialog and this is when a user select some file in a list to catch this event, something like: "OnItemChange", is this possible, something like CListCtrl function itemchange??? If yes can someone give me a suggestion how to do this? Best Regards bosfan

            S Offline
            S Offline
            Sarath C
            wrote on last edited by
            #5

            This [^] might help. Also just search in Codeproject you can find many!

            -Sarath.

            My blog - Sharing My Thoughts

            Rate the answers and close your posts if it's answered

            B 1 Reply Last reply
            0
            • D David Crow

              Check out the lpfnHook member.

              "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

              "Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous

              B Offline
              B Offline
              bosfan
              wrote on last edited by
              #6

              Hello, this is what i'm looking for, this works. I found a example with OnNotify() and i use this as reference: ImageImport Filedialog Many thanks Best wishes Mirsad

              1 Reply Last reply
              0
              • S Sarath C

                This [^] might help. Also just search in Codeproject you can find many!

                -Sarath.

                My blog - Sharing My Thoughts

                Rate the answers and close your posts if it's answered

                B Offline
                B Offline
                bosfan
                wrote on last edited by
                #7

                Hi, thanks for answer :) bosfan

                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