Archive: Move window with sendmessage?


Move window with sendmessage?
Can someone show me an example of how to move a window using a sendmessage command?


I believe this is the way to do it in C.
SendMessge(hwnd, WM_MOVE, 0, MAKELPARAM(xpos, ypos));
or
SendMessage(Me.hwnd, WM_SYSCOMMAND, SC_MOVE, ???) - not sure what to put here ???

but not sure how to change to nsis code.


Please search the NSIS Archive at http://nsis.sf.net/archive

There are examples available that move the window.