Re: w32lib - cannot use right mouse button

new topic     » goto parent     » topic index » view thread      » older message » newer message

In my e-mail program (Recent user cotrib.), when I right clicked on selected
text in an EditText, the standard Windows popup menu with Cut,Copy..
appeared. In 0.55.1 not. The menu pops up when i use the context key on
keyboard (near start key)

Hope you understant now.

Martin
----- Original Message -----
From: Derek Parnell <ddparnell at bigpond.com>
Subject: Re: w32lib - cannot use right mouse button


>
>
> Martin wrote:
> > I just want standart windows menu for cut,copy,paste etc. like
> > I dont want to do capture right mouse button events i think it should be
> > passed automatically to Windows by win32lib like it was in win32lib
v0.50C
>
> Hi Martin,
> I'm confused. I just don't understand what it is you are expecting. Can
you
> please explain it to me in terms of user action and application responses.
> What is look & feel you are expecting?
>
> When you say "standard windows menu" are you asking for Win32Lib to create
a
> menu called "Edit" with the subitems "Copy, Cut, Paste" on it for you? The
> library has never done that. You have to do that yourself.
>
> Also, in your original question you talked about not being able to use the
> right mouse button in EditText etc... But I maintain you can if you want
to.
>
> Can you send me an example of a program that worked with v0.50c and now
does
> not work with v0.55.1?
>
>
> ------
> Derek Parnell
> Melbourne, Australia
> "To finish a job quickly, go slower."
>
> ----- Original Message -----
> From: <martin.stachon at worldonline.cz>
> To: "EUforum" <EUforum at topica.com>
> Sent: Sunday, May 20, 2001 6:13 PM
> Subject: Re: w32lib - cannot use right mouse button
>
>
> >
> >
> > Hi Derek,
> >
> > Martin
> > ----- Original Message -----
> > From: Derek Parnell <ddparnell at bigpond.com>
> > To: EUforum <EUforum at topica.com>
> > Sent: Saturday, May 19, 2001 6:06 PM
> > Subject: Re: w32lib - cannot use right mouse button
> >
> > >
> > > Hi Martin,
> > > you should be getting WM_RBUTTONDOWN events. These are working okay
for
> > me.
> > > I've fixed it so that the WM_RBUTTONUP and WM_RBUTTONDBLCLK events are
> > also
> > > passed through in the next version.
> > >
> > > The mouse move and left button stuff is required by the edit controls
> for
> > > highlighting etc.
> > >
> > > What are you trying to do with the right button events? Do you want to
> > cause
> > > a pop-menu to occur?
> > >
> > > ---------------
> > > procedure MouseRtn(integer event, integer x, integer y, integer shift)
> > >     sequence xy
> > >
> > >     -- wait for right button down events
> > >     if event = WM_RBUTTONDOWN then
> > >         -- Get the location of the edit box
> > >         xy = getRect(getSelf())
> > >         -- show the popup menu at the point where the button was
pressed
> > >         popup(MyPopup, x + xy[1], y + xy[2])
> > >     end if
> > > end procedure
> > > onMouse[MyEdit] = routine_id("MouseRtn")
> > > -----------------
> > >
> > > -----
> > > Derek Parnell
> > > Melbourne, Australia
> > > "To finish a job quickly, go slower."
> > >
> > > ----- Original Message -----
> > > From: martin.stachon at worldonline.cz
> > > To: EUforum
> > > Sent: Wednesday, May 16, 2001 10:48 PM
> > > Subject: w32lib - cannot use right mouse button
> > >
> > >
> > > Hi,
> > > under win32lib v0.55.1 i cannot use right mouse button id editboxes,
> mles
> > > etc. for cut,copy,paste etc.
> > > (it worked under v0.50C)
> > > The context key on a keyboard works.
> > >
> > > I think the problem is somewhere in mouse event handling.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu