Lb_close=false
Do
Ll_handle=FindWindowex (0, ll_handle, ls_textname ls_1)
If isnull (ll_handle) or ll_handle=0 then
Ll_handle=0
The else
Ls_text=space (255)
GetWindowText ll_handle ls_text, (254)
If len (ls_text) & gt; 0 then lb_close=true
End the if
Loop until lb_close
This is the code, with no problem before, now ll_handle returns 0 can't find the specified window, this is what causes of ah! Please help the prawns,
CodePudding user response:
Ll_handle=FindWindowex (0, ll_handle, ls_textname ls_1)If isnull (ll_handle) or ll_handle=0 then
Ll_handle=0
The else
.
The ll_handle aren't defined?
CodePudding user response:
Messagebox (ls_textname ls_1)Look at these two values, right?
CodePudding user response:
Whether ll_handle=FindWindowex (0, ll_handle, ls_textname ls_1) want to find a ls_textname has been changed?