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. Problem with extra extensions in File Dialog

Problem with extra extensions in File Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
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.
  • T Offline
    T Offline
    tgtracey
    wrote on last edited by
    #1

    When we are browsing for our library files which have extensions of .pal using CFileDialog we are also getting .palx displayed in the dialog. This did not happen when we were using VC2003 but happened when we moved to VC2010. Any ideas how to stop this behaviour as we generate the .palx files from our .pal libraries and we do not want users selecting the .palx

    L S 2 Replies Last reply
    0
    • T tgtracey

      When we are browsing for our library files which have extensions of .pal using CFileDialog we are also getting .palx displayed in the dialog. This did not happen when we were using VC2003 but happened when we moved to VC2010. Any ideas how to stop this behaviour as we generate the .palx files from our .pal libraries and we do not want users selecting the .palx

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

      Check that your search filters are correct.

      1 Reply Last reply
      0
      • T tgtracey

        When we are browsing for our library files which have extensions of .pal using CFileDialog we are also getting .palx displayed in the dialog. This did not happen when we were using VC2003 but happened when we moved to VC2010. Any ideas how to stop this behaviour as we generate the .palx files from our .pal libraries and we do not want users selecting the .palx

        S Offline
        S Offline
        Shaheed Legion
        wrote on last edited by
        #3

        One of the constructors to the file dialog class permits you to specify a list of file extensions the dialog is permitted to show, check the documentation for more clarity, hope this helps.

        The tears shed in vain and the hatred and pain will be nothing but dust at the end of the day

        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