[comp.windows.news] Help: Event interests

bobm@ee.rochester.edu (Bob Molyneaux) (01/03/90)

Hi all;
	I can't seem to master the "niceties?" of NeWS beyond basic
window creation, drawing, menues etc.  I could use a quick tip.

Problem:
	The default status of the left mouse button *in* the canvas
region is null.  I have an application which is menue driven.  Upon
selection of a certain menue entry I would like to activate interest
in the left mouse button.  I wish to cause the clicking (Down and or
Up Transition) of the left button to return the currentcursorlocation
to my C client in order that the object which is being pointed to in 
the display may be identified. I am using C and .CPS files to implement
the application.  The cursorlocation could be stored in cps variables
and passed to the client easily.  I just don't know how to cause the
left button (or any event) do what I want.  I would like to be able to
alter the action taken by the left button at a later time according to
some other menue selection as well as return the button to its default
state.

	Should blockinputqueue be used to halt other input which may
occur between the time of the left button click to the time the process
is ready for more input??


	Yes I have a NeWS manual.  No I don't understand more than
50% of it.

	Email me at bobm@ee.rochester.edu or reply via this newsgroup.
Thanks in advance for any help.



********************************************************************************
bobm@ee.rochester.edu 
********************************************************************************