[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3426.0. "Is there a way to get the widget ID of the OK button in the file selection widget??" by VIA::DESROSIERS () Wed Oct 03 1990 12:53

Hi,

I am a developer for DECdecision/Access and we are trying to make all our Modal
dialog boxes Modeless.  This includes making our file selection widgets Modeless.
However, there will be certain times the file selection widget should not be 
valid and the OK button should be grayed.  Is there currently any way to do 
this??  If there isn't, will there be a way to get the OK widget id in Motif??

Thanks,
Karen

PS Sorry if this has already been answered.  I searched the notesfile and the 
only relevant note I found (note 2845.5) was never answered.
T.RTitleUserPersonal
Name
DateLines
3426.1TAIPAN::BIBEAULTGrizzly BearWed Oct 03 1990 14:3810
   I don't have the docs handy, but I believe that most compound container
   objects such as file selection have a routine to obtain the widget id of
   its automatically created children...

   If it follows the conventions I've seen it's called something perhaps like
   XmFileSeclectionGetChild or something similar. If I can remember where I
   put the docs I'll try to verify this...

-mike
3426.2DSSDEV::BIBEAULTGrizzly BearMon Oct 08 1990 16:146
   Confirmed. The routine exists and could be called as such:

   ok_widget = XmFileSelectionBoxGetChild (file_sel_widget, XmDIALOG_OK_BUTTON);

-mike