954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Mouse Posistion

Alright i understand mybase.MouseMove event handles everytime the mouse is moved, but what i am having a problem with is using this code in a MDIContainer Form. When used here the mouse event is never trigged.

So i am curious if there is away for this mouse event to be trigged or how i can go about getting the same results.

The idea is i have an application that i want to be automatically logged out if there is no keyboard or mouse acitivity on the computer. Any ideas???? Thanks!

Devin
Newbie Poster
4 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

can you post your code ?

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 
can you post your code ?

sub frm_Main_MouseMove (ByVal sender as OBject, ByVal e as System.Windows.Forms.MouseEventArgs) Handles Mybase.MouseMove
msgbox("test")
end sub


I believe the problem is its in a mdiContainer therefor it never sees the mouse movement... Im curious if there is a global mousemove function so i can see if the mouse is moving on the computer in general, not just on the program.

Devin
Newbie Poster
4 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You