[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

2839.0. "Problem with XtRemoveGrab on modal dialog boxes." by CADSE::NORMAN () Wed May 30 1990 17:05

I'm having an annoying little problem with modal dialog boxes.
I have a dialog box that asks the user for two separate pieces of
information, each of which must be typed into a simple text widget.
When the user hits the APPLY or OK button, the application checks
the first string for correctness and brings up a caution box if there
is a problem. The user is then allowed to choose whether to use the string
as typed or stop the operation. After this decision, my application
checks the second string and brings up a caution box again if there
is a problem. The user may again accept the string as is or stop
the operation.

When the second box is unmanaged by DECwindows, I get the warning message:

X Toolkit Warning : XtRemoveGrab asked to remove a widget not on the grab list.

I suspect this has to do with the order in which the user has operated
upon the caution boxes. I think that if the second box was answered
first, the toolkit would not be confused. 

I should mention that the application never makes it back to the main
loop until either the user answers "NO" to a caution box or the application
completes it processing.

How do I get rid of this warning message and/or the situation that caused it?

			Paul Norman
T.RTitleUserPersonal
Name
DateLines