Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with window specific toolbar functions
#6
I think i got what you need.

Toolbar

Code:
Copy      Help
STOP ALL MACROS RUNNING ON THIS TOOLBAR :SetProp(GetWindow(TriggerWindow GW_OWNER) "x" 0) * close.ico
;;;This is toolbar that will stop all macros ran from the toolbar it was started from.

Function:
Code:
Copy      Help
int w1
w1=win("Notepad");err
act w1
hid w1
hid- w1
SetProp(w1 "x" 1)
rep
,;;YOUR CODE
,if(!GetProp(w1 "x"))end;; if the stop function in your toolbar is pressed then it will stop all
,;functions funning on the window.

Try that Bro.
Smile 8)


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)