MOUSE MOVE FAILS ON A USER CONTROL HOSTED INSIDE INTERNET EXPLORER
Posted on 2011-05-10
I have a user control, say UC, with splitter control that divides the form like |--.
The right bottom portion loads controls based on the user selections on the left side.
I have attached a Application.AddMessageFilter that captures the MOUSEMOVE messages in UC constructor.
While the user is acitve on UC my application keeps renewing logout time.
If the mouse stops moving on UC then it logs the user out after 30 secs of inactivity...
When I host the above user control UC inside a Win Form everything works fine. But when I host the same UC inside an internet explorer using OBJECT tag, MOUSEMOVE is not working correctly:: Eventhough I am moving the mouse, it fails to renew the user logout time but instead acts like it is not seeing the MOUSEMOVE events...and simply logs out the user.
HOW TO FIX this??