Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Counter
#1
Hello how would i get this counter to stop and close the toolbar when it gets to 300?

Code:
Copy      Help
;/count
function# hWnd message wParam lParam

sel message
,case WM_CREATE
,CreateControl 0 "Static" 0 0 0 0 150 20 hWnd 2
,SetTimer(hWnd 1 1000 0); goto timer    
,case WM_TIMER
,,if(wParam=1)
,,,;timer
,,,str s.getwintext(id(2 hWnd)); s=val(s)+1; s.setwintext(id(2 hWnd))
,,,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)