re mouse buttons urgent on apr gmt it ik dmu ac uk i kler said ik nntp posting host elm ik i know it sounds stupid but ik does anyone know how to control individual mouse buttons ik i am writing an application which currently makes use of ik buttonpressmask however this is invoked by the pressing ik of any mouse button i want to be able to restrict this ik to one of the buttons i tried button pressmask but ik just get undefined errors i know it can be done and i ik am pretty sure theres an easy answer to it but i just don t know ik what it is ik time is of the essence there is no event mask for a particular mouse button press however in your event handler you can use the event structure passed in and query it to find which button was pressed i e void someeventhandler widget w xtpointer data xevent event catch the button usually left button if event xbutton button button do some action else do nothing and exit from function guy singh ixi internet guy x co uk vision park uucp guy ixi uucp cambridge bang uunet ixi guy cb zr uk tel
