sastowe
13 years agoSuper Contributor
understanding onoverlappingwindow event params
I am looking for confirmation of my understanding. I want to handle a pesky overlapping window that otherwise would not interfer with my test. But since it is an unreproducable application crash, I cannot easily test my understanding. So merrily I test along with kmy application under test. And a crash occurs, generating a window (which just so happens to be a dwwin aka Dr. Watson window).
So an OnOverlappingWindow event is generated to which I wish to respond in the event handlers. The parameters passed in are:
Sender: The event control that processes the event. Is this self referential to the OnOverlappingWindow event itself? What does this mean?
Window: Is this the window on which the offending window overlaps?
OverlappingWindow: The offending window which I wish to deal with. This is the only part of the help file that seems clear to me. Be I dense?
Is my understanding correct?
S
So an OnOverlappingWindow event is generated to which I wish to respond in the event handlers. The parameters passed in are:
Sender: The event control that processes the event. Is this self referential to the OnOverlappingWindow event itself? What does this mean?
Window: Is this the window on which the offending window overlaps?
OverlappingWindow: The offending window which I wish to deal with. This is the only part of the help file that seems clear to me. Be I dense?
Is my understanding correct?
S