Posts: 1,769
Threads: 410
Joined: Feb 2003
i have a dual monitor card with a third monitor hooked up to the internal card so i have three monitors with all the monitors to the left of my primary display so i have the left most position at -2304. i tried doing a mov command but it doesnt want to move it off my primary (most right) monitor. i tried to change my monitor setup but it is hardwired to use the dvi as primary only.
is there some way around this?
Posts: 11,869
Threads: 138
Joined: Dec 2002
Posts: 1,769
Threads: 410
Joined: Feb 2003
that didnt seem to work either.
am i doing this incorrectly?
_i=win("SamurizeClient-Default" "TClientForm")
MoveWindow _i -1600 100 0 0 0
Posts: 11,869
Threads: 138
Joined: Dec 2002
Almost correctly. With MoveWindow, width and height must not be 0.
Probably the window detects it and refuses to move. Try SetWindowPos with SWP_NOSENDCHANGING:
SetWindowPos hwnd 0 -1600 100 0 0 SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOSENDCHANGING
Posts: 1,769
Threads: 410
Joined: Feb 2003
BOOM!!!
setwindowpos worked great!!!!
thanks.