01-21-2010, 10:41 PM
Function Monitor_Toggle
Trigger #CSL 0x9
So this works...and I'm sure it will probably only work on this machine. Is there a better way to determine what monitor a window is on?
Thanks,
Jimmy Vig
Trigger #CSL 0x9
int mon pmon
POINT p; xm p
mon=MonitorFromPoint(p MONITOR_DEFAULTTONULL)
sel mon
,case 1180117
,int hwnd=win()
,MoveWindowToMonitor hwnd 1
,case 7340581
,hwnd=win()
,MoveWindowToMonitor hwnd 2
So this works...and I'm sure it will probably only work on this machine. Is there a better way to determine what monitor a window is on?
Thanks,
Jimmy Vig