Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!husc6!rice!sun-spots-request From: mephdbo%prism@gatech.edu (d. majumder) Newsgroups: comp.sys.sun Subject: Canvas popup menus in suntools Keywords: Windows Message-ID: <772@brazos.Rice.edu> Date: 5 Aug 89 01:14:49 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 94, message 6 of 21 I had a question about using popup menus while processing button events for a canvas. I have to popup certain menus when buttons are clicked on certain locations of canvas. Now I have scrollbars with the canvas. If the canvas is unscrolled then menu pops up right where the mouse button is pressed. But if the canvas has been scolled away from zero position then the menu pops at weird places, like one corner of the entire screen. Any idea about how to prevent that. Is there any MENU_ attributes to explicitly specify the menu's location. ThankYou deeptendu