Ask a Question

#32770 was not recognized

liangn
Occasional Contributor

#32770 was not recognized

Hello,



one of my #32770 was not recognized, in debugger the Len(x.Child(i).WndClass) was 0.



After the checking in "Object Browser" manually, in debugger the "x.Child(i).WndClass" was #32770 again.



My question, how could this "#32770" window be recognized without manual checking it in "Object Browser".



Many thanks.



Nan



Here is the code:

for i = 0 to p1.ChildCount -1


    While Len(p1.Child(i).WndClass) < 1


        delay(866)


    wend


    if instr(p1.Child(i).WndClass, "3277") then


        otherWindowThanPlan = 1


        exit function


    elseif instr(p1.Child(i).name, "3277") then


        otherWindowThanPlan = 1


        exit function


    end if


next

1 REPLY 1
liangn
Occasional Contributor

RE: #32770 was not recognized

It is solved by using "refresh()" thanked Allen's suggestion.



Regards

Nan
cancel
Showing results for 
Search instead for 
Did you mean: