![]() Moreover, there is no need to install AutoHideMouseCursor, as it is a portable application. Since the single purpose of this application is to automatically hide the mouse cursor, no wonder that the interface is minimalistic. In other words, if the mouse is no longer moved, AutoHideMouseCursor starts the countdown and hides the cursor when the time is up. This small application can automatically hide the mouse cursor after a period of time if you are inactive. While there are screen capturing and recording applications that automatically hide the cursor, there is another convenient solution provided by AutoHideMouseCursor. For every call to the Hide method there must be a corresponding call to the Show method.Whether you need to take desktop screenshots or record your desktop activity, the mouse cursor seems to always be in the way. The Show and Hide method calls must be balanced. ![]() ' Show the cursor when the mouse pointer leaves the button. Private Sub myButton_MouseLeave(sender As Object, e As System.EventArgs) Handles myButton.MouseLeave ' Hide the cursor when the mouse pointer enters the button. Private Sub myButton_MouseEnter(sender As Object, e As System.EventArgs) Handles myButton.MouseEnter Private void myButton_MouseLeave(object sender, System.EventArgs e) Private void myButton_MouseEnter(object sender, System.EventArgs e) Show the cursor when the mouse pointer leaves the button. ![]() Void myButton_MouseLeave( Object^ /*sender*/, System::EventArgs^ /*e*/ ) Hide the cursor when the mouse pointer enters the button. Void myButton_MouseEnter( Object^ /*sender*/, System::EventArgs^ /*e*/ ) This example requires a Form with a Button named myButton. Likewise, when the mouse pointer leaves the button's client area, the cursor is shown again. ![]() The following code example hides the cursor when the mouse pointer enters the button's client area. Static void Hide() public static void Hide () static member Hide : unit -> unit Public Shared Sub Hide () Examples ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |