Menu

CheckBoxes and EditFields working together

2002-11-25
2012-09-26
  • Nobody/Anonymous

    I have a window with 4 checkboxes and 4 edit fields at their side. Whenever a checkBox is checked the edit field right beside should become enabled. And if a checkbox is unchecked, the corresponding edit field should get disabled.

    How to do it? What message am i looking for?

    Thanks :)

    [Robert]

     
    • Nobody/Anonymous

      Checking or unchecking a checkbox generates the usual WM_COMMAND message, with the wParam indicating the checkbox ID. When handling the message read the state of the checkbox and enable or disable the corresponding edit field.
      rpeter

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.