Forum Discussion

ntammadge's avatar
ntammadge
New Contributor
5 years ago
Solved

Overlapping window log error when window has been handled by event handler

I'm currently handing an overlapping window using the project's event handler and after it exits I still get an error in the log. As far as I can tell the object still exists, but it is no longer vis...
  • tristaanogre's avatar
    5 years ago

    Right... the code for the handler doesn't REMOVE the OverLapping window error, it just handles the overlapping window so it doesn't "blow up" your automation.

    What you need to do, to suppress the message, is that if that object exists and is present, call your code you already have AND add a call to LogParams.Locked = true;

     

    That will suppress the log message while still handling the window.