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:
|