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