straw@cam.nist.gov (Mike Strawbridge) (11/27/90)
A question about using Scrolling Lists in XView. I would like to change the default mouse events sent to a Scrolling List. The default that causes my notify_proc() to be called is SELECT button pressed. I would like it to be SELECT button released. Is this possible? Is this possible to do without affecting the mouse events sent to other panel items or other objects in the window? ----------------------------------------------------------------------- NAME: Michael Strawbridge TELE: (301) 975-3852 USMAIL: National Institute of Standards ARPA: straw@cam.nist.gov and Technology UUCP: uunet!cme-durer!straw Rm. B-146, Bldg. 225 Gaithersburg, MD 20899
fgreco@dprg-330.GOVt.shearson.COM (Frank Greco) (12/01/90)
>I would like to change the default mouse events sent to a Scrolling List.
You could receive the mouse events yourself if you set the PANEL_LIST's
event_proc to a function of your own. Just look for the mouse-up event
(as you state). Don't forget to pass on the events that you
don't want to handle yourself.
Frank G.