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. Class wizard

Class wizard

Scheduled Pinned Locked Moved C / C++ / MFC
c++architecture
7 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.
  • A Offline
    A Offline
    alex__b
    wrote on last edited by
    #1

    I have a dialog with 2 radio buttons (beside many others). Both buttons appear OK in the .h, .rc and .clw files, but the class wizard shows only one (even after deleting the .clw file and rebuilding). MFC. :confused: thanks alex 'Architecture is music frozen in space.'

    N 1 Reply Last reply
    0
    • A alex__b

      I have a dialog with 2 radio buttons (beside many others). Both buttons appear OK in the .h, .rc and .clw files, but the class wizard shows only one (even after deleting the .clw file and rebuilding). MFC. :confused: thanks alex 'Architecture is music frozen in space.'

      N Offline
      N Offline
      Nishad S
      wrote on last edited by
      #2

      Class wizard shows radio buttons with group property set. If you want these radio to be a group, you have to set the group property only for the first ctrl. If you set it for both, class wizard will show both the ctrls, but you will lose the auto selection switching property. - NS -

      A T 2 Replies Last reply
      0
      • N Nishad S

        Class wizard shows radio buttons with group property set. If you want these radio to be a group, you have to set the group property only for the first ctrl. If you set it for both, class wizard will show both the ctrls, but you will lose the auto selection switching property. - NS -

        A Offline
        A Offline
        alex__b
        wrote on last edited by
        #3

        Thank You. Does that mean that if i .SetCheck() for one of them, the other is automatically unchecked? alex 'Architecture is music frozen in space.'

        N 1 Reply Last reply
        0
        • N Nishad S

          Class wizard shows radio buttons with group property set. If you want these radio to be a group, you have to set the group property only for the first ctrl. If you set it for both, class wizard will show both the ctrls, but you will lose the auto selection switching property. - NS -

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          damn, how did you understand his question ?! :wtf: lol, well done anyway... :cool:

          N A 2 Replies Last reply
          0
          • T toxcct

            damn, how did you understand his question ?! :wtf: lol, well done anyway... :cool:

            N Offline
            N Offline
            Nishad S
            wrote on last edited by
            #5

            Thank you. Actually I went in your same way for a while... :) - NS -

            1 Reply Last reply
            0
            • T toxcct

              damn, how did you understand his question ?! :wtf: lol, well done anyway... :cool:

              A Offline
              A Offline
              alex__b
              wrote on last edited by
              #6

              Sorry about the 'understandability'. Maybe it's my English. alex 'Architecture is music frozen in space.'

              1 Reply Last reply
              0
              • A alex__b

                Thank You. Does that mean that if i .SetCheck() for one of them, the other is automatically unchecked? alex 'Architecture is music frozen in space.'

                N Offline
                N Offline
                Nishad S
                wrote on last edited by
                #7

                I meant that if the user clicks one of the radio then the other will not be automatically unchecked. - NS -

                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