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 buttons, edit boxes, etc

radio buttons, edit boxes, etc

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

    I have a dialog box in which I have a group of two radio buttons and I have an edit box which takes an int as the # of files to open. I also have many other edit boxes with browse buttons to look for a file that should be opened. When I select one of the radio buttons and then put a number in my edit box for integers, the selections don't remain there after I do something else in the dialog box. Such as if I click one of the browse buttons to find the file and then place it in the appropriate other edit box, the radio button gets deselected and the number in the edit box disappears. How can I make the number and the radio button selection remain?

    L 1 Reply Last reply
    0
    • R Rajveer

      I have a dialog box in which I have a group of two radio buttons and I have an edit box which takes an int as the # of files to open. I also have many other edit boxes with browse buttons to look for a file that should be opened. When I select one of the radio buttons and then put a number in my edit box for integers, the selections don't remain there after I do something else in the dialog box. Such as if I click one of the browse buttons to find the file and then place it in the appropriate other edit box, the radio button gets deselected and the number in the edit box disappears. How can I make the number and the radio button selection remain?

      L Offline
      L Offline
      lucy 0
      wrote on last edited by
      #2

      UpdateData(TRUE)?

      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