🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1106

OS/2 Programmer - How do you make radio buttons disable?

#1106
From: LEE Hyo Jong
Date: Mon, 28 Jan 1991 19:24
20 lines
1300 bytes
Hi,
I guess everybody knows that
it is possible to control menu items able/disable in OS/2 PM programming.
Organization: University of Utah CS Dept

But, is it possible to control radio buttons able/disable during execution
of the program?
Since a radio button is a window, conceptually it should be able to control it
by sending messages. If we create radio buttons individually by calling
WinCreateWindow(), it is not a problem - may be called with WS_DISABLED.

However, many radio buttons are usually created by WinCreateDlg() or
WinLoadDlg().  I cannot find the apropriate message name for this case.
So, how can I control radio buttons able/disable?  Thanks in advance,

-hjl
---------------
LEE, Hyo Jong  - OI -
801-581-8377 (office)   801-582-5127 (home)
({ihnp4,decvax}!utah-cs!h-lee, h-lee@cs.utah.edu)
Technical Details
Message-ID: <1991Jan28.122408.11150@hellgate.utah.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!hogum.utah.edu!h-lee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!hogum.utah.edu!h-lee
From: h-lee%hogum.utah.edu@cs.utah.edu (LEE Hyo Jong)
Newsgroups: comp.sys.ibm.pc.programmer,comp.os.os2.misc
Subject: OS/2 Programmer - How do you make radio buttons disable?
Message-ID: <1991Jan28.122408.11150@hellgate.utah.edu>
Date: 28 Jan 91 19:24:07 GMT
Lines: 20