Menu

How to tell if a checkbox is checked

Help
2021-12-03
2021-12-03
  • Paul Higgins

    Paul Higgins - 2021-12-03

    My program accesses other windows using the WindowObject Class. I can check and uncheck checkboxes by sending a SPACE to it but I am unable to tell if the checkbox is checked or not. The state method doesn't say is checked or not. Is there anyway to tell if its checked?

     
    • Erich

      Erich - 2021-12-03

      Hi, Paul,
      try sending the checkbos a BM_GETCHECK message.

       

      Last edit: Erich 2021-12-03

Log in to post a comment.