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. WPF
  4. Custom File Dialogs

Custom File Dialogs

Scheduled Pinned Locked Moved WPF
csharpc++wpfquestion
9 Posts 3 Posters 19 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.
  • J Offline
    J Offline
    Jammer 0
    wrote on last edited by
    #1

    Hey all, I'm just trying to make some nice WPF file dialogs for saving and opening files ... is the best way of getting back the file name and which button was clicked best done by implementing some dependency properties? I keep getting compile errors like 'incorrect return type' due to the void setting on the button click event handlers and so forth. I really don't want to use the OS native open / save dialog boxes ... they look so horrid!! :) Cheers,

    Jammer Going where everyone here has gone before! :) My Blog

    L 1 Reply Last reply
    0
    • J Jammer 0

      Hey all, I'm just trying to make some nice WPF file dialogs for saving and opening files ... is the best way of getting back the file name and which button was clicked best done by implementing some dependency properties? I keep getting compile errors like 'incorrect return type' due to the void setting on the button click event handlers and so forth. I really don't want to use the OS native open / save dialog boxes ... they look so horrid!! :) Cheers,

      Jammer Going where everyone here has gone before! :) My Blog

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Jammer wrote:

      I really don't want to use the OS native open / save dialog boxes ... they look so horrid!!

      You may need to rethink this because users are already used to those dialogs and it's what you "should" use for this reason. Not sure why you are having issues, they work great for us.

      Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

      Just a grain of sand on the worlds beaches.

      J 1 Reply Last reply
      0
      • L Lost User

        Jammer wrote:

        I really don't want to use the OS native open / save dialog boxes ... they look so horrid!!

        You may need to rethink this because users are already used to those dialogs and it's what you "should" use for this reason. Not sure why you are having issues, they work great for us.

        Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

        Just a grain of sand on the worlds beaches.

        J Offline
        J Offline
        Jammer 0
        wrote on last edited by
        #3

        Oh for sure ... the standard ones work ... i'm just getting right into the design side of things and really wanting to maintain that sort of feel over the app ... have got my dialog working now too ... no need for dependency properties ... I was barking (mad) up the wrong tree with that one.

        Jammer Going where everyone here has gone before! :) My Blog

        P 1 Reply Last reply
        0
        • J Jammer 0

          Oh for sure ... the standard ones work ... i'm just getting right into the design side of things and really wanting to maintain that sort of feel over the app ... have got my dialog working now too ... no need for dependency properties ... I was barking (mad) up the wrong tree with that one.

          Jammer Going where everyone here has gone before! :) My Blog

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          If you are using the standard dialogs, the user has certain control over them through the use of themes, so if you implement your own versions, they need to be consistent with user expectations.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          J 1 Reply Last reply
          0
          • P Pete OHanlon

            If you are using the standard dialogs, the user has certain control over them through the use of themes, so if you implement your own versions, they need to be consistent with user expectations.

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            J Offline
            J Offline
            Jammer 0
            wrote on last edited by
            #5

            Hi Pete, Not sure what you mean here. Do you mean the look and feel expectations or functionality or both together? Cheers,

            Jammer Going where everyone here has gone before! :) My Blog

            P 1 Reply Last reply
            0
            • J Jammer 0

              Hi Pete, Not sure what you mean here. Do you mean the look and feel expectations or functionality or both together? Cheers,

              Jammer Going where everyone here has gone before! :) My Blog

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              It's a bit of both. The themes issue relates to what they expect to see - the expectations relates to the interaction they expect from the dialogs.

              Deja View - the feeling that you've seen this post before.

              My blog | My articles

              J 1 Reply Last reply
              0
              • P Pete OHanlon

                It's a bit of both. The themes issue relates to what they expect to see - the expectations relates to the interaction they expect from the dialogs.

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                J Offline
                J Offline
                Jammer 0
                wrote on last edited by
                #7

                Sure that makes complete sense. At the moment I have a nice little dialog that just does what I need it too at the moment ... nothing fancy but its got all the same theme as my app. It needs expanding on before the final release for sure. I'm also not even allowing browsing to random folders at the moment its just locked into offering file names at the moment. That needs attention for the final release.

                Jammer Going where everyone here has gone before! :) My Blog

                P 1 Reply Last reply
                0
                • J Jammer 0

                  Sure that makes complete sense. At the moment I have a nice little dialog that just does what I need it too at the moment ... nothing fancy but its got all the same theme as my app. It needs expanding on before the final release for sure. I'm also not even allowing browsing to random folders at the moment its just locked into offering file names at the moment. That needs attention for the final release.

                  Jammer Going where everyone here has gone before! :) My Blog

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  It's fair enough to redo or change an implementation if what you are after is sufficiently different to the behaviour of a standard dialog.

                  Deja View - the feeling that you've seen this post before.

                  My blog | My articles

                  J 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    It's fair enough to redo or change an implementation if what you are after is sufficiently different to the behaviour of a standard dialog.

                    Deja View - the feeling that you've seen this post before.

                    My blog | My articles

                    J Offline
                    J Offline
                    Jammer 0
                    wrote on last edited by
                    #9

                    Well ya got me there ... at the moment its really not doing anything remotely different. Guess I'll just have to make something up! ;)

                    Jammer Going where everyone here has gone before! :) My Blog

                    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