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

Home » Public Forums » archive » Re: Question. CW_PDMENU
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Question. CW_PDMENU [message #11533] Thu, 23 April 1998 00:00
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
On Wed, 22 Apr 1998, Bill Eaton wrote:
> Is it possible to make CW_PDMENU (with kwd MBAR) silent? That is the
> button appears half bright and is temporarily inoperable. Is there
> perhaps an alternative program which will do this?

You can do this with the "button" IDs that cw_pdmenu returns through its
optional IDS keyword-parameter.
i.e., my_menu_id=cw_pdmenu(..., IDS=my_menu_button_ids)
Once you've got these, you can desensitise the whole menu with:
widget_control,my_menu_button_ids(0),sens=0
or you can desensitise actual menu items with something like:
widget_control,my_menu_button_ids(2),sens=0 ;desensitise 2nd item
Of course, you'll have to keep the menu button IDs handy (along with your
widget program's other "persistent" variables) so that you can change states
later on.

Peter Mason
[Message index]
 
Read Message
Previous Topic: Re: idl process id
Next Topic: How to skip some bytes?

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

Current Time: Wed Oct 08 15:16:16 PDT 2025

Total time taken to generate the page: 0.00473 seconds