Forum Discussion

MulgraveTester's avatar
MulgraveTester
Frequent Contributor
9 years ago
Solved

Cannot find the window with handle 0

Due to TC not be able to identify code-jock tabs in my desktop application  I have had to use text recognition to find each tab and then inspect the text image to see if it is the current tab colour....
  • MulgraveTester's avatar
    9 years ago

    SOLVED:

    When edits were made to the form the tab label would change e.g. "myForm" becomes "myForm*"

    The textObj assignment was being given the handle for the destroyed text object.

    I had to execute a refresh on the parent object before making the assignment.