RE: RightDown event
- Posted by Joseph Semmel <jsemmel at yahoo.com> Aug 08, 2003
- 388 views
I used the routine that Derek wrote for me and after the procedure I put a set handler line for each push button, and list box and I was able to right click with them. The only exception was the text box, apparently you can't overwrite that cut/paste menu. Dan Moyer wrote: > > > Joseph, > > There's a slightly complex way to right click on items in a list box in > "RunDemos.exw" which comes with Win32Lib. The routine that includes > doing > it is "List_onMouse", though there's setup stuff before it, look for > "right > click" & you should find it. A Getz created the idea for me. > > And now that I look at it, there's a simpler example called, reasonably > enough, "RtClick.exw" in the examples. And somehow, I forget how but it > might be easy to find, I made right click on some of the buttons at the > top > of RunDemos work, too. > > HTH, > Dan Moyer > ----- Original Message ----- > From: "Joseph Semmel" <jsemmel at yahoo.com> > To: "EUforum" <EUforum at topica.com> > Sent: Wednesday, August 06, 2003 11:06 AM > Subject: RE: RightDown event > > > > That example works fine, my only question left is: Is there a way that > > the right click will work for listboxes, text boxes and push buttons ? > > > > Derek Parnell wrote: > > > > > > > > > On Wed, 06 Aug 2003 00:44:57 +0000 (08/06/03 10:44:57) > > > , Joseph Semmel <jsemmel at yahoo.com> wrote: > > > > > > > > > > > The Onmouse routine does not trap right clicks either. > > > > > > > > > > This is true. Microsoft has decided that a Right Button Click is not a > > > default (supported) event. I assume this because neither the API, Visual > > > > > > Basic or MFC has support built in for this. > > > > > > However, the example code I sent earlier might do. I can easily enahnce > > > > > > win32lib to support it too. > > > > > > -- > > > > > > cheers, > > > Derek Parnell > > > > > > > TOPICA - Start your own email discussion group. FREE! > > >