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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CheckBoxes in setup

CheckBoxes in setup

Scheduled Pinned Locked Moved C / C++ / MFC
questionworkspace
9 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.
  • B Offline
    B Offline
    BoudewijnEctor
    wrote on last edited by
    #1

    Hi, How can I evaluate the value of checkbox called "check1" (or something like it), in my setup project, if the box is checked, I need to place a shortcut on the desktop! Thanks!

    D M 2 Replies Last reply
    0
    • B BoudewijnEctor

      Hi, How can I evaluate the value of checkbox called "check1" (or something like it), in my setup project, if the box is checked, I need to place a shortcut on the desktop! Thanks!

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

      If this is MFC, use CButton::GetCheck(). Otherwise, send a BM_GETCHECK message to the control.


      Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

      B 1 Reply Last reply
      0
      • D David Crow

        If this is MFC, use CButton::GetCheck(). Otherwise, send a BM_GETCHECK message to the control.


        Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

        B Offline
        B Offline
        BoudewijnEctor
        wrote on last edited by
        #3

        OK, but this isn't MFC --> this is a SETUP project! As far is I know this one has nothing to do with MFC (or am I wrong?)

        D 1 Reply Last reply
        0
        • B BoudewijnEctor

          OK, but this isn't MFC --> this is a SETUP project! As far is I know this one has nothing to do with MFC (or am I wrong?)

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

          Well, since your question was posted in the VC++ forum, it was assumed to be a VC++ question or an MFC question.


          Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

          B 1 Reply Last reply
          0
          • D David Crow

            Well, since your question was posted in the VC++ forum, it was assumed to be a VC++ question or an MFC question.


            Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

            B Offline
            B Offline
            BoudewijnEctor
            wrote on last edited by
            #5

            That's right, but where do I have to place my question (I don't know!)?

            D 1 Reply Last reply
            0
            • B BoudewijnEctor

              Hi, How can I evaluate the value of checkbox called "check1" (or something like it), in my setup project, if the box is checked, I need to place a shortcut on the desktop! Thanks!

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #6

              what setup ? there are tons of them ...


              Maximilien Lincourt "Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )

              1 Reply Last reply
              0
              • B BoudewijnEctor

                That's right, but where do I have to place my question (I don't know!)?

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

                My first thought would be in a forum specializing in the language in which your setup application is written.


                Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

                B 1 Reply Last reply
                0
                • D David Crow

                  My first thought would be in a forum specializing in the language in which your setup application is written.


                  Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

                  B Offline
                  B Offline
                  BoudewijnEctor
                  wrote on last edited by
                  #8

                  Okay, I've written my application in mfc c++, but what has that to do with my setup project? I jsut need an answer for the development projects, not for mfc!

                  D 1 Reply Last reply
                  0
                  • B BoudewijnEctor

                    Okay, I've written my application in mfc c++, but what has that to do with my setup project? I jsut need an answer for the development projects, not for mfc!

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

                    BoudewijnEctor wrote: I've written my application in mfc c++... Yet here you indicate otherwise. I initially provided you an answer for both VC++ and MFC. One of them will apply. BoudewijnEctor wrote: I jsut need an answer for the development projects, not for mfc! The fact that you are writing a setup project (it could be a game, an accounting package, a printer driver, etc) is irrelevant. You wanted to know how to "evaluate the value" of a checkbox and I provided you with two options. If those answers are not right for your situation, perhaps you should rethink your initial question.


                    Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

                    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