🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6389

OWL: Enabling Pushbuttons

#6389
From: Chuck Weinstock
Date: Mon, 14 Dec 1992 00:06
10 lines
984 bytes
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
Technical Details
Message-ID: <1992Dec13.190610.5534@sei.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!weinstoc

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!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