Skip to content
⌘ NSIS Forum Archive

Move window with sendmessage?

3 posts

billym#

Move window with sendmessage?

Can someone show me an example of how to move a window using a sendmessage command?
billym#edited
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.
Joost Verburg#
Please search the NSIS Archive at http://nsis.sf.net/archive

There are examples available that move the window.