home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / programm / 11364 < prev    next >
Encoding:
Text File  |  1992-12-13  |  963 b   |  22 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!weinstoc
  3. From: weinstoc@sei.cmu.edu (Chuck Weinstock)
  4. Subject: OWL: Enabling Pushbuttons
  5. Message-ID: <1992Dec13.190610.5534@sei.cmu.edu>
  6. Sender: netnews@sei.cmu.edu (Netnews)
  7. Reply-To: weinstoc@sei.cmu.edu (Chuck Weinstock)
  8. Organization: Software Engineering Institute, Pittsburgh, PA
  9. Date: Sun, 13 Dec 1992 19:06:10 EST
  10. Lines: 10
  11.  
  12. I'm using Borland C++ 3.1 and OWL.  My application has some push buttons on
  13. the main window.  I want to be able to selectively disable and enable those
  14. buttons (and gray them when disabled).  I figured out that I can disable a
  15. button by setting WS_DISABLED in Attr.Style at creation.  But I can't figure
  16. out how to re-enable or re-disable the button thereafter.  Can anyone help?
  17.  
  18. Chuck Weinstock                weinstock@sei.cmu.edu
  19. Software Engineering Institute        (412) 268-7719
  20. Carnegie Mellon University        (412) 268-5758 (Fax)
  21. Pittsburgh, PA 15213
  22.