[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES toolbar: no right button event



On Saturday 03 January 2015 07:07:10 Jean-François Lemaire wrote:
> On Saturday 03 January 2015 02:57:43 Helmut Karlowski wrote:
> > Am 30.12.2014, 11:45 Uhr, schrieb Jean-François Lemaire:
> > > I'm replying to myself because I think I know the reason: when XaAES
> > > processes
> > > user interaction with the toolbar, it returns the relevant information
> > > in the
> > > message buffer (object clicked on, etc.) but not which button was
> > > clicked. I
> > > thought that MU_BUTTON would give this information, but it doesn't,
> > > which I
> > > guess makes sense. The problem is that with WM_TOOLBAR msg[3] through
> > > msg[7]
> > > are already used, so I don't know where the left/right button could be
> > > returned.
> > 
> > Actually it works if you hold the button until the event arrives at your
> > app. I think it's a bug, but it's all so long ago ...
> 
> You're absolutely right! I hadn't noticed that.

Actually, both mouse button behave the same: with a quick click the 
application receives a 0, rather than the correct 1, 2, or 3 it receives after 
a longer click.

Cheers,
JFL
-- 
Jean-François Lemaire