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. saving setting

saving setting

Scheduled Pinned Locked Moved C / C++ / MFC
questiondata-structures
6 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.
  • P Offline
    P Offline
    pnpfriend
    wrote on last edited by
    #1

    Hi all... i have an application,which include, checkboxes, radio buttons and tree controls that's act like window explore. i want to save the user current setting so next time when the user rebrowse the folder he/she browsed last time. how can i do that.???? thanks Win

    C M 2 Replies Last reply
    0
    • P pnpfriend

      Hi all... i have an application,which include, checkboxes, radio buttons and tree controls that's act like window explore. i want to save the user current setting so next time when the user rebrowse the folder he/she browsed last time. how can i do that.???? thanks Win

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

      Save them in a file or the registry.

      P 1 Reply Last reply
      0
      • C Chris Hafey

        Save them in a file or the registry.

        P Offline
        P Offline
        pnpfriend
        wrote on last edited by
        #3

        but how.. how can i save in the file or register??? i have no idea...

        B 1 Reply Last reply
        0
        • P pnpfriend

          but how.. how can i save in the file or register??? i have no idea...

          B Offline
          B Offline
          Brian Delahunty
          wrote on last edited by
          #4

          Have a look at the articals on CP for streaming to the registry... just make up values that mean certain thing and then check from them in your program. Or just output to a file. Have a look at MSDN under


          Now taking suggestionsfor a new sig. please email me all suggestions.

          P 1 Reply Last reply
          0
          • B Brian Delahunty

            Have a look at the articals on CP for streaming to the registry... just make up values that mean certain thing and then check from them in your program. Or just output to a file. Have a look at MSDN under


            Now taking suggestionsfor a new sig. please email me all suggestions.

            P Offline
            P Offline
            pnpfriend
            wrote on last edited by
            #5

            if you dont mind, can you gvie me add for them please... so far i could not find in the mfc lib yet..

            1 Reply Last reply
            0
            • P pnpfriend

              Hi all... i have an application,which include, checkboxes, radio buttons and tree controls that's act like window explore. i want to save the user current setting so next time when the user rebrowse the folder he/she browsed last time. how can i do that.???? thanks Win

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #6

              If you are using MFC, then have a look at CWinApp::WriteProfileString. If you are not using MFC then have a look at http://www.codeproject.com/system/cregistrykey.asp or http://www.codeproject.com/system/registry_class.asp or some of the other classes at http://www.codeproject.com/system/ Michael :-) Communication is the first step towards enlightenment.

              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