Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Counter
#9
Code between case WM_TIMER and case WM_DESTROY lines:

Code:
Copy      Help
,if(wParam=1)
,,int c=GetProp(hDlg "count")+1
,,if(c=300) c=0; KillTimer(hDlg 1)
,,SetProp(hDlg "count" c)
,,str s=c; s.setwintext(id(3 hDlg))


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)