[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamic menus on base widget using MBAR
- Subject: Dynamic menus on base widget using MBAR
- From: Ricardo Fonseca <zamb(at)physics.ucla.edu>
- Date: Thu, 10 Aug 2000 15:44:08 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of California, Los Angeles
- User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20778
Hi All
Is there a way to dynamically change the menu on a base widget? When I begin
my program I create a menu using the MBAR keyword on the WIDGET_BASE
function. While it is running, and depending on user input, I'd like to
change the menu to a completely different one.
So far I've attempted to destroy the old button widgets and regenerating the
menu, but it's not working.
Any Ideas?
Thanks in advance, Ricardo