Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: transparent buttons over pixmaps Message-ID: <9007261510.AA11944@Larry.McRCIM.McGill.EDU> Date: 26 Jul 90 15:10:52 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 > I need to place pushbuttons at several locations over a pixmap, in > this case a satellite photo. The pushbutton must be transparent, > i.e., let the satellite photo show through except for the button's > border. > [What I've done so far] works, sort of, but I'm trolling for other > approaches. Well, how about this? Draw the button picture by creating an InputOutput window and setting its shape to just the shape you want. Then create an InputOnly window covering the whole button and use that to detect mouse clicks on the button. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu