登录
首页 » Windows开发 » 1)屏幕保护程序运行时,鼠标光标被自动隐藏,在程序结束时,光标显示。2)当单击、移动鼠标或按下键盘时,屏幕保护结束,回到正常操作状态。为了实现这些特性,在编写V...

1)屏幕保护程序运行时,鼠标光标被自动隐藏,在程序结束时,光标显示。2)当单击、移动鼠标或按下键盘时,屏幕保护结束,回到正常操作状态。为了实现这些特性,在编写V...

于 2022-03-03 发布 文件大小:2.46 kB
0 317
下载积分: 2 下载次数: 1

代码说明:

1)屏幕保护程序运行时,鼠标光标被自动隐藏,在程序结束时,光标显示。2)当单击、移动鼠标或按下键盘时,屏幕保护结束,回到正常操作状态。为了实现这些特性,在编写VB应用程序时,可以采用如下方法:   1、改变窗体属性通常VB应用程序的窗体都采用有边框的窗体外观,但作为屏幕保护程序,应设置窗体为无边框,且为最大化。   2、隐藏及显示鼠标光标在Visual Basic应用程序中隐藏及显示鼠标光标需要运用Windows的API函数,该函数名为ShowCursor。当用参数值True调用时显示鼠标光标,当用参数值False调用时,鼠标光标自动隐藏。   3、检测鼠标移动VB中有一个检测鼠标移动的对象事件MouseMove事件。MouseMove事件通常在应用程序启动时就会触发,有时在鼠标并未移动的情况下,MouseMove事件仍有可能被触发。因此如果在程序中直接用MouseMove事件检测鼠标是否发生了移动,并不能正确反映鼠标的移动状况。应该在MouseMove事件中编写代码加以控制。 -1) screen saver running, the mouse cursor automatically hidden, at the end of the procedure, the cursor display. 2) When the click, move the mouse or press the keyboard, the screen ends and return to normal operating status. To achieve these characteristics, in the preparation of VB applications, can be used as follows : a change forms usually attribute the VB application forms have adopted a frame of the window appearance, but as screen protection procedures should be provided to non-Window frame, and as a maximum. 2, hide and display the mouse c

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 本游戏是微软SMART PHONE平台下的手机游戏,由于平台的特殊性,所以在游戏的架构和设计上既要符合游戏的特点,又要考虑到与设计其他PC游戏的不同。难点在于手...
    本游戏是微软SMART PHONE平台下的手机游戏,由于平台的特殊性,所以在游戏的架构和设计上既要符合游戏的特点,又要考虑到与设计其他PC游戏的不同。难点在于手机资源是很有限的,不能直接从设计PC游戏的架构直接搬到SMART PNONE游戏上,架构设计的变化是必然的。在本游戏中我们提出了一套全新的设计架构,充分考虑到了C#语言的特点,以及.NET平台的优点。在架构中摈弃了以前手机游戏设计中,虽然采用面向对象开发但是没有充分利用面向对象的不足,大量采用了当前先进的设计模式 -the game is Microsoft SMART PHONE platform mobile phone game, due to the special nature of platform, Therefore, the structure of the game and is designed to meet the characteristics of the game, also take into account the design of the other PC games are different. The difficulty lies in cell phone resources are very limited. not directly from the design of PC games moved to the structure of direct SMART PNONE game, Architecture Design changes are inevitable. In this game, we proposed a new set of design framework, taking fully into account the C# language features, and.NET platform advantages. Discard the framework of the previous mobile phone games design, Although object-oriented development but did not take full advantage of object-oriented inad
    2022-11-05 20:25:04下载
    积分:1
  • Win2K under the Sniffer source code. Zip
    Win2K下的Sniffer源代码.zip-Win2K under the Sniffer source code. Zip
    2023-06-25 23:20:03下载
    积分:1
  • VB C #
    vb to c#-vb to c#..............................
    2022-04-14 14:25:54下载
    积分:1
  • 测试各种大小使用 测试各种大小使用
    测试各种大小使用 测试各种大小使用-Testing a variety of sizes to use to test the use of various sizes
    2022-01-31 09:27:57下载
    积分:1
  • 用ECLIPSE编写一个简易租车行图形界面系统
    用ECLIPSE编写一个简易租车行图形界面系统-ECLIPSE prepared using a simple graphical interface system rental companies
    2022-03-05 10:57:47下载
    积分:1
  • 英语46是一个趋势,不,然而,找工作考研
    英语四六级已是一个趋势,不得不过,找工作考研--必须使用英语-English 46 is a trend, not, however, to find a job PubMed- must use English
    2022-01-25 17:41:41下载
    积分:1
  • 扩展卡尔曼滤波器算法
    扩展卡尔曼滤波器算法-extend kalman filter algorithm
    2022-03-01 18:03:45下载
    积分:1
  • 嵌入式的本地数据库(表)引擎, 不需要任何附加库(非BDE), 直接插入源代码即可 附带BDE转换/表编辑...
    嵌入式的本地数据库(表)引擎, 不需要任何附加库(非BDE), 直接插入源代码即可 附带BDE转换/表编辑 -embedded local database (Table) engine, does not require any additional libraries (BDE), plugs directly into the source code can be attached BDE conversion/Table Editor
    2022-03-11 02:33:45下载
    积分:1
  • vb.net 数据库基础
    此代码演示如何在 visual studio 2010 vb.net 与 sql 数据库中执行的基本操作。 它显示的操作,如插入、 更新、 删除和检索数据以不同的方式。 它还显示概念,如命名空间、 类、 基本控制、 方法、 reusablity 方法在 vb.net 中
    2022-03-10 00:21:39下载
    积分:1
  • 很多漏洞。我也不知道是什么
    很多漏洞。我也不知道是什么-many loopholes. I do not know what it is
    2023-07-17 11:15:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载