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. Radio and group statics?

Radio and group statics?

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.
  • B Offline
    B Offline
    bouli
    wrote on last edited by
    #1

    Hi People, I have seen a CCheckStatic control that is a mix between a check box and a group box. Does any body can tell me where I can find the same type of control but with a RadioButton? Can anybod show me how can I insert a RadioButton in the GroupBox title? Best regards. There is no spoon.

    O 1 Reply Last reply
    0
    • B bouli

      Hi People, I have seen a CCheckStatic control that is a mix between a check box and a group box. Does any body can tell me where I can find the same type of control but with a RadioButton? Can anybod show me how can I insert a RadioButton in the GroupBox title? Best regards. There is no spoon.

      O Offline
      O Offline
      ohadp
      wrote on last edited by
      #2

      Two options that come into mind: 1. Make your own GroupBox and do whatever you want there :-) 2. Just throw a radio-button OVER your GroupBox, write the logic to 'connect' them, and you get a radio-group-box-thingy.

      B 1 Reply Last reply
      0
      • O ohadp

        Two options that come into mind: 1. Make your own GroupBox and do whatever you want there :-) 2. Just throw a radio-button OVER your GroupBox, write the logic to 'connect' them, and you get a radio-group-box-thingy.

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

        Thanks. I would add this third option: 3. simply take the source of CCheckStatic and replace BS_CHECKBOX by BS_RADIOBUTTON in the Init() method of the class ;p There is no spoon.

        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