1. w32lib - cannot use right mouse button
- Posted by martin.stachon at worldonline.cz May 19, 2001
- 451 views
This is a multi-part message in MIME format. ------=_NextPart_000_0038_01C0DE17.55BC6D00 charset="iso-8859-2" 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. ------=_NextPart_000_0038_01C0DE17.55BC6D00 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3D"Arial CE" size=3D2>Hi,</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>under win32lib v0.55.1 i cannot = use right=20 mouse button id editboxes, mles etc. for cut,copy,paste = etc.</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>(it worked under = v0.50C)</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>The context key on a keyboard=20 works.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CE" size=3D2>I think the problem is somewhere = in mouse=20 event handling.</FONT></DIV> <DIV><FONT face=3D"Arial CE"=20 ------=_NextPart_000_0038_01C0DE17.55BC6D00--
2. Re: w32lib - cannot use right mouse button
- Posted by Derek Parnell <ddparnell at bigpond.com> May 19, 2001
- 414 views
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.
3. Re: w32lib - cannot use right mouse button
- Posted by martin.stachon at worldonline.cz May 20, 2001
- 414 views
Hi Derek, 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 Martin ----- Original Message ----- From: Derek Parnell <ddparnell at bigpond.com> 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. > > > > > >
4. Re: w32lib - cannot use right mouse button
- Posted by Derek Parnell <ddparnell at bigpond.com> May 20, 2001
- 426 views
5. Re: w32lib - cannot use right mouse button
- Posted by martin.stachon at worldonline.cz May 23, 2001
- 447 views
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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
6. Re: w32lib - cannot use right mouse button
- Posted by Derek Parnell <ddparnell at bigpond.com> May 23, 2001
- 421 views
7. Re: w32lib - cannot use right mouse button
- Posted by martin.stachon at worldonline.cz May 25, 2001
- 442 views
----- Original Message ----- From: Derek Parnell <ddparnell at bigpond.com> Subject: Re: w32lib - cannot use right mouse button > Hi Martin, > I do understand now. Thank you for your patience with me. btw When are you planning to release v0.56 ? Martin