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. A question about the radio button

A question about the radio button

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

    Is there any method to make the focus more obvious when it is staying at a radio button? Because a very thin black dash squre line is not easy to find, especially when there are many radio button in the dialog. Thanks!

    T 1 Reply Last reply
    0
    • P pantao551

      Is there any method to make the focus more obvious when it is staying at a radio button? Because a very thin black dash squre line is not easy to find, especially when there are many radio button in the dialog. Thanks!

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

      and what are you especting for a "more obvious" focused radio button ?

      P 1 Reply Last reply
      0
      • T toxcct

        and what are you especting for a "more obvious" focused radio button ?

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

        My program will run on a computer without mouse. So it is very important to make everything obvious, Especially the focus of the keyboard. When I use the radio button, especially when the radio button is more than 10 in a dialog, it is difficult to find the focus.

        T 1 Reply Last reply
        0
        • P pantao551

          My program will run on a computer without mouse. So it is very important to make everything obvious, Especially the focus of the keyboard. When I use the radio button, especially when the radio button is more than 10 in a dialog, it is difficult to find the focus.

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

          cant the user use the "Tab" key to navigate between the controls, and use mnemonics to access more quickly to a specific control like :

          O My radio

          to access this radio directly with the keyboard, press Alt+M (as M is underscored)

          P 1 Reply Last reply
          0
          • T toxcct

            cant the user use the "Tab" key to navigate between the controls, and use mnemonics to access more quickly to a specific control like :

            O My radio

            to access this radio directly with the keyboard, press Alt+M (as M is underscored)

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

            The key board is not standard. It has only number keys and moving keys like -> <- up down and enter. It does not have tab and system keys. I think I should ask my question like this: ^-^ Is there any way to make the controls of the dialog like radio button or check box highlighted when the focus of the keyboard is staying at them? Once again, my computer has no mouse. Thanks! -- modified at 5:21 Tuesday 14th March, 2006

            G 1 Reply Last reply
            0
            • P pantao551

              The key board is not standard. It has only number keys and moving keys like -> <- up down and enter. It does not have tab and system keys. I think I should ask my question like this: ^-^ Is there any way to make the controls of the dialog like radio button or check box highlighted when the focus of the keyboard is staying at them? Once again, my computer has no mouse. Thanks! -- modified at 5:21 Tuesday 14th March, 2006

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #6

              One option would be to dynamically set the WS_EX_DLGMODALFRAME extended style on each control as it receives the focus. As it loses focus, you would then need to clear it.


              Software Zen: delete this;

              Fold With Us![^]

              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