comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » desensitizing selected elements of CW_BGROUP
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
desensitizing selected elements of CW_BGROUP [message #12557] Wed, 19 August 1998 00:00
Richard G. French is currently offline  Richard G. French
Messages: 65
Registered: June 1997
Member
I would like to display a set of non-exclusive buttons in a group,
but to be able to apply a 'sensitivity mask' to the group which
would sensitize only those buttons that have a 1 in the mask,
desensitizing the ones with a 0. WIDGET_CONTROL lets you
desensitize and ENTIRE compound widget - what I want to do is
to desensitize only selected buttons in the button group. I've
looked at the CW_BGROUP and WIDGET_CONTROL documentation and
don't see a way to do this. Presumably, one could monkey with
the CW_BGROUP code and implement a SENSITIVE=[0,1,0,1,1] kind
of keyword, but I am not eager to do that. Suggestions welcome!
The workaround I have so far is to apply this mask in
my event handler and simply ignore events that are insensitive.
The down side of this is that the labels for those buttons are
not dimmed, so the user does not have a visual indication that
those buttons are inactive.
Thanks for any suggestions. Please reply to
rfrench@ahab.wellesley.edu as well as to this group. Net is flakey
here.
Dick French
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Printing within Windows environment
Next Topic: Re: 2D UNIQ function?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:17:01 PDT 2025

Total time taken to generate the page: 0.95967 seconds