Let VisualBasic hide mouse

zhaozj2021-02-11  181

Let VisualBasic hide mouse

http://www.tongyi.net Author: Xiaoyu Source: China Computer Education Views: 228

We often see the mouse when the image player and system enters the screen protection because the system deliberately hides the mouse. This "hidden mouse" function is not difficult. We use the Visual Basic's API function showcursor to easily implement, just write the program as follows: public declare funcursor lib "user32" (Byval Bshow as long) AS Long public sub tohidecursor () showcursor 0 'Hide Mouse End Sub Public Sub Toshowcursor () showcursor 1' Show mouse end SUB is not very simple? Let's try it!

转载请注明原文地址:https://www.9cbs.com/read-5465.html

New Post(0)