Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message Output working way.
#2
Change message box text without closing it? Need two threads.

Macro Macro2618
Code:
Copy      Help
int hwndStatic=sub.ShowMessage

for _i 0 5
,out _i
,str s=F"Searching ...test ({_i})"; s.setwintext(hwndStatic); err
,0.5


#sub ShowMessage
mac "sub.MessageThread"
int hwndMessage=wait(10 WV win("Error" "#32770" "" 0 "cClass=Static[]cText=9373524757"))
atend sub.CloseMessage hwndMessage
ret child("9373524757" "Static" hwndMessage)


#sub MessageThread
mes "9373524757                                    [][]" "Error" "x"


#sub CloseMessage
function hwndMessage
clo hwndMessage; err


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)