kortyzon wrote:

Hello !


I'm a french win32 gui user and i search how to move the window
whitout the dragbar.

I think it's posible to do this with system :
While MouseDown event (for example on a label), move the window at the
cursor position.

But i don't know how to make it!


Can somebody help me?

Thanks!
you will need 3 things.

mouseDown, mouseMove, mouseUp (these are generic names, the specifcs are up to you in OEM/NEM)

inside the mouseDown event, set a state flag (like $mouseIsDown)

when the mouseMove event is fired, check the status of $mouseIsDown, and then move the window accordingly.

when mouseUp is fired, set $mouseIsDown to 0/-1/undef/your version of false.

viola.

there may be some other slightly more specfic, but unmentioned code realting to the exact method by which you know how and where to move the window to, but these are the basics.

Jason P.


Reply via email to