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. Should be simple: CFile Dialog filters

Should be simple: CFile Dialog filters

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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.
  • J Offline
    J Offline
    JKallen
    wrote on last edited by
    #1

    When I create an application. Do the files my app uses (such as files the user can load) have to have an extension of only 3 characters? If so, how do I determine what extensions are already in use to ensure that my extensions are unique and have their own icon?

    C 1 Reply Last reply
    0
    • J JKallen

      When I create an application. Do the files my app uses (such as files the user can load) have to have an extension of only 3 characters? If so, how do I determine what extensions are already in use to ensure that my extensions are unique and have their own icon?

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      JKallen wrote: Do the files my app uses (such as files the user can load) have to have an extension of only 3 characters? three is typical, but you can have extensions of any length you like. ex: .JS, .CONFIG, .FOO. JKallen wrote: If so, how do I determine what extensions are already in use to ensure that my extensions are unique and have their own icon? strictly speaking, you can't. nobody keeps an authoratative list of file extensions. the best you can do is search the web (and your system registry) to see if you can find a match. Image Toolkits | Image Processing | Cleek

      J 1 Reply Last reply
      0
      • C Chris Losinger

        JKallen wrote: Do the files my app uses (such as files the user can load) have to have an extension of only 3 characters? three is typical, but you can have extensions of any length you like. ex: .JS, .CONFIG, .FOO. JKallen wrote: If so, how do I determine what extensions are already in use to ensure that my extensions are unique and have their own icon? strictly speaking, you can't. nobody keeps an authoratative list of file extensions. the best you can do is search the web (and your system registry) to see if you can find a match. Image Toolkits | Image Processing | Cleek

        J Offline
        J Offline
        JKallen
        wrote on last edited by
        #3

        Thanks. that's what i figured. How do I have the OS associate an extenion with an icon? Secondly what happens if the extension already exists on the PC via installation of another app?

        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