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

Re: [MiNT] XaAES + toolbar behavior



Ok friends,

I have done more tests, and it seems graf_watchbox and graf_slidebox() are not the problem. Sorry about that, I just happened to notice it while using those functions I guess. In other cases it probably passes unnoticed.

It seems XaAES generates WM_TOOLBAR messages on both mouse key up AND mouse key down, other AES:s do not, and it screws up things like dragging using graf_slidebox(), since the mouse up event reports the original position (i.e. the place where the mouse key was pushed down).

Checking the mouse key state using graf_mkstate() cures my problem: http://pastebin.com/0xXfeak1

However, I seriously doubt that I should have to do that.

-- PeP


11 dec 2010 kl. 21.02 skrev Helmut Karlowski:

Am 11.12.2010, 20:54 Uhr, schrieb Peter Persson <pep.fishmoose@gmail.com>:

11 dec 2010 kl. 20.49 skrev m0n0:

I guess Windom has it's own Toolbar implementation.... so this is probably of little help for you, but with WinDom + Toolbar I only get one WM_TOOLBAR message for a mouse click.

Regular clicks seems ok, I only get this behavior when using graf_movebox(). It seems this causes XaAES to generate a WM_TOOLBAR message when the mouse button is released.

Do you have a test-case with source or at least a binary?

How is it documented?

--
Helmut Karlowski