Third party Application's Idle Session expiry

Posted by Manjoor on Stack Overflow See other posts from Stack Overflow or by Manjoor
Published on 2010-06-05T09:46:48Z Indexed on 2010/06/05 9:52 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

We have a third party application running. It shows login dialog when idle for 20 minutes. We need to prevent the application to display login screen.

We do not have any idea how idle state is handled internally in that application.

We have done the follwoing with no luck.

  1. Created an small application in c# which focus it after every 5 minutes (using SetForegroundWindow()) and send a BM_CLICK message to one of its child window. Does not work.
  2. focus it after every 5 minutes (using SetForegroundWindow()) and move the cursor few pixels then restore cursor at its previous position. This does not work too!

Is there any other way to achieve the goal?

© Stack Overflow or respective owner

Related posts about c#

Related posts about application