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

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

于 2022-03-03 发布 文件大小:2.46 kB
0 363
下载积分: 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 个回复

  • 有关虚拟机的书籍, 使用和实力 ,特泛滥,
    有关虚拟机的书籍, 使用和实力 ,特泛滥,-Books about virtual machines
    2022-05-28 00:55:57下载
    积分:1
  • 零售 O 点销售系统
    零售 POS 系统来显示每天现金信用交易,以及债权人支付日常库存、 现金销售报告,信用销售报告、 到期报告等
    2023-01-19 00:30:03下载
    积分:1
  • wince下可运行的拼音输入法,在wincce4.2下测试成功。
    wince下可运行的拼音输入法,在wincce4.2下测试成功。-weights can run under the Pinyin input method, the test under wincce4.2 success.
    2023-01-05 10:40:04下载
    积分:1
  • under VC on the windows and Client
    windows下VC++关于server和Client端消息通信处理。-under VC on the windows and Client-server communication information processing.
    2022-03-04 01:27:28下载
    积分:1
  • use vc prepared by the person's life curve
    使用vc所编写的人的生命曲线-use vc prepared by the person"s life curve
    2022-09-06 19:00:02下载
    积分:1
  • 文件内容比较,支持文件夹,先比较时间后比较内容.
    文件内容比较,支持文件夹,先比较时间后比较内容.-Compare the contents of the documents in support folder.
    2022-03-23 01:51:44下载
    积分:1
  • 图书管理借阅系统 毕业设计 工作室为朋友做的简单的毕业设计,没有花哨的功能,没有美观的界面,纯粹简单的易于操作的系统。 采用: Asp + Acc...
    图书管理借阅系统 毕业设计 工作室为朋友做的简单的毕业设计,没有花哨的功能,没有美观的界面,纯粹简单的易于操作的系统。 采用: Asp + Access 制作的系统。 简单的页面加密,页面密码(注意密码的大小写):2Fly.cn 尽供原创教程使用,如发现错误,请提出意见!谢谢大家! 作者:2Fly工作室 网站:http://www.2fly.cn 主要功能:(缺点:没做表单验证,因为想必大家都会) 实现了图书分类、图书添加、图书管理、借书会员管理、借书管理、还书管理、书本废弃管理 教案主要目的:学习参数之间的互相传递和SQL查询的主要应用-Lending Library Management System graduate design studio for a friend to do the simple design graduate, no garish function, not aesthetically pleasing interface simplistic easy to operate system. Use : Access Asp production systems. Simple pages encryption, password pages (Note that the password is case) : 2Fly.cn do for original guide, like the discovery of the error, please advise! Thank you! Author : 2Fly studio website : http://www.2fly.cn main functions : (drawbacks : do not form validation, because we all must) achieved the classification of books, and books add, library management, library membership management, library management, book management, waste management templ
    2022-01-26 05:48:41下载
    积分:1
  • 简单的控件使用例子!
    简单的控件使用例子!-simple example of the use of control!
    2022-04-09 18:46:18下载
    积分:1
  • echo off Optimization Toolbox%% A Concise Guide for TUTDEMO Tutorial Optimizatio...
    echo off Optimization Toolbox%%教程优化工具箱的简明指南。%版权(C)1990~98年由MathWorksInc.基于数据(x,y)的线性插值是席益.%的结果“非扭结”端点,即强迫第一、二次多项式系数相同的三项,最后一节的第三和倒数第二段的系数相同。样条%pp=(x,y)返回样条插值多项式子段(pp形式)结构。对于节点的断裂,COEF的多项式系数为y= PPVAL(PP,席)席PP的函数形式。
    2023-06-02 05:55:03下载
    积分:1
  • one, the programs do not need to install. Two, please HELP documents and softwar...
    1、本程式无须安装。 2、请将HELP文件与软件置于同一文件夹下。 3、请将TEMP文件夹拷贝至D盘根目录下 4、报表生成请另存 5、谢谢使用,本软件归李莉所有。-one, the programs do not need to install. Two, please HELP documents and software under the same folder. 3, I would be grateful if the TEMP folder copy to D NOTE 4 under, Report Generation Please Save 5, thank you use the software under all Li Li.
    2023-07-06 07:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载