03-19-2013, 11:40 PM
Thanks Gintaras,
I learned so much from this. One thing though, I set timer to lowest value but still big lag compared to running in a separate mac run from WM_INITDIALOG:
Function Repositioner
Am I setting up the timer incorrectly. With the external rep loop, there is no lag whatsoever. With the loop, it is delayed then catches up immediately with each movement.
S
I learned so much from this. One thing though, I set timer to lowest value but still big lag compared to running in a separate mac run from WM_INITDIALOG:
Function Repositioner
function int'hDlg nWindows
OutVar hDlg
rep
,ARRAY(int)+ aw;
,RECT r rr
,int i
,for i 0 nWindows
,,GetWindowRect id(100+i hDlg) &r
,,GetWindowRect aw[i] &rr
,,if(memcmp(&r &rr sizeof(RECT))) MoveWindow aw[i] r.left r.top r.right-r.left r.bottom-r.top 1Am I setting up the timer incorrectly. With the external rep loop, there is no lag whatsoever. With the loop, it is delayed then catches up immediately with each movement.
S
