Question?

BlitzMax Forums/MaxGUI Module/Question?

Amon(Posted 2007) [#1]
The following is something I've been asked to post on the forum by a friend. He is a full BMax + MAXGUI owner.


We're using maxgui,but have found what seems like a bug, in that whenever you move or resize a window, it totally blocks any events from being emitted and as a result the window basically becomes a garbled mess if you had any
self-drawn gadgets, or resize beyond it's initial size.

So, is this a patch/user code that prevents this from happening? Could I do it myself by editing some portion of maxgui?

if not, i would like to create my own resize/move event system, and by pass maxgui.
my problem is,how do i keep up the drag or resize when the mouse goes off the window surface?
Is there is a windows api or cross-platform api that lets me get mouse position and button state even when the mouse creeps off the window?



Any help would be appreciated.

:)


kfprimm(Posted 2007) [#2]
Use EventHooks to solve that problem. Its not a bug, its caused by Windows.


SebHoll(Posted 2007) [#3]
You should probably have a look at Assari's EventHook MaxGUI tutorial - it really helped me understand how to go about using and implementing hooks to solve these sorts of probelms.