Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External App Dialog Frame with Splitters
#5
Thanks Gintaras,
I learned so much from this. One thing though, I set timer to lowest value
Code:
Copy      Help
SetTimer hDlg 1 1 0
but still big lag compared to running in a separate mac run from WM_INITDIALOG:

Code:
Copy      Help
mac "Repositioner" 0 hDlg nWindows

Function Repositioner
Code:
Copy      Help
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 1


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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)