Detecting the Ready State of a User Interface Element
AssigneeMicrosoft Corporation
InventorRonald R. Martinsen
Life of this patent
Estimating the term…
Abstract
Aspects of the subject matter described herein relate to detecting the ready state of a user interface element. In aspects, a synchronization object is created to indicate when a user interface element is ready. Data is then loaded into the user interface element. After the data is loaded, an indication is made via the synchronization object that the user interface element is ready. After this occurs, a thread waiting on the synchronization object may interact with the user interface element with confidence that the user interface element is ready.
Claims20
A computer-readable medium having computer-executable instructions, which when executed perform actions, comprising:
- creating a synchronization object that indicates whether a user interface element is ready to be interacted with;
- loading data into the user interface element;
- and
- indicating via the synchronization object that the user interface element is ready to be interacted with.
A method implemented at least in part by a computer, the method comprising:
- accessing a store including user interface identifiers associated with user interface elements;
- obtaining a user interface identifier associated with one of the user interface elements;
- obtaining a process identifier associated with a process that includes the one of the user interface elements;
- combining the process identifier with the user interface element to form an event identifier;
- and
- creating a named event synchronization object with the event identifier.
In a computing environment, an apparatus, comprising:
- a program operable to wait on a synchronization object before interacting with a user interface element;
- the user interface element operable to signal the synchronization object when the user interface element is ready;
- and
- a store operable to store an user interface identifier of the user interface element, the user interface identifier being used by the program and the user interface element to identify the synchronization object.
Dependencies are inferred from the claim text.