[comp.windows.x.motif] Slow/Quick Clicks ...

ghosr@sersun0.essex.ac.uk (Ghosh-Roy R) (11/30/90)

Calling all XView-2.0 experts:

	I have come across a strange problem and wish to clarify if its a
	XView-2.0 bug ...

	Using the left button I select a node of a tree and a pop_up frame
	is created. 
	
	This frame is also assigned to a global variable. Reason?

	Whenever a new pop_up frame is created (because of clicking on any
	node using the left button), I want to get rid of the previous if
	its still there. i.e., if the `global_variable != (Frame) NULL', I
	xv_set FRAME_CMD_PUSHPIN_IN to FALSE and XV_SHOW to FALSE for the
	global_variable frame.


	Problem:

	If I click on two nodes slowly, I don't have any problem. However if
	I click quickly, the pop_up frame created by the first click doesn't
	go away. It stays up with its FRAME_CMD_PUSHPIN_IN set to FALSE but
								  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	XV_SHOW stays TRUE. Why???
	^^^^^^^^^^^^^^^^^^

Thanks.

Rana

ps: Is there any way of freeing the memory space for all the undisplayed
	frames??




(0206) 87 22 97             (0206 22) 42 63         National
+ 44 206 87 22 97           + 44 206 22 42 63       InterNational
Room No.: 4B.526, Department of Computer Science, University of Essex 
Wivenhoe Park, Colchester Essex CO4 3SQ, England, UK (ghosr@essex.ac.uk)