03-20-2013, 11:19 AM
That works great, thanks kindly Gintaras. Is it also possible to send a parameter back from the function to the dialog?
So once the loop is complete, send the word success back to the edit box?
Function Dialog3
Function Loop
Thanks kindly
Matt
So once the loop is complete, send the word success back to the edit box?
Function Dialog3
sel wParam
,case 3
,SetDlgItemText hDlg 7 ""
,EnableWindow id(3 hDlg) 0; EnableWindow id(4 hDlg) 1
,mac "Loop" "" hDlg _s.getwintext(id(5 hDlg))
,e7=message
Function Loop
;;function that accepts argumnents from dialog and returns success message to dialog
/
function int'count int'e5 str'message
message="success!"
for count 1 e5
,wait 1
,out count
ret message
Thanks kindly
Matt