-
1)屏幕保护程序运行时,鼠标光标被自动隐藏,在程序结束时,光标显示。2)当单击、移动鼠标或按下键盘时,屏幕保护结束,回到正常操作状态。为了实现这些特性,在编写V...
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
- 2022-03-03 19:10:51下载
- 积分:1
-
一款休闲小游戏的源代码,玩法简单,易上手,消除相同的笑脸
一款休闲小游戏的源代码,玩法简单,易上手,消除相同的笑脸-A casual game of the source code, playing simple,易上手, the elimination of the smiling faces of the same
- 2022-01-22 03:38:22下载
- 积分:1
-
次数主要是c和c++学者提高那个,很有价值。
次数主要是c和c++学者提高那个,很有价值。-Number of mainly c and c++ Scholars enhance the great value.
- 2022-02-09 12:19:41下载
- 积分:1
-
用C语言实现的求解输入两字串的相同子串个数及内容
用C语言实现的求解输入两字串的相同子串个数及内容-Using C language to solve the same input two string substring the number and content of
- 2022-06-26 08:28:55下载
- 积分:1
-
using AES Nicholson wrote a subject took the registration procedures
wince下用evc写的一个操做注册标的程序-using AES Nicholson wrote a subject took the registration procedures
- 2022-05-23 05:40:27下载
- 积分:1
-
firewall software source code types : C source/Network Programming
防火墙源代码 软件类型: C++源码 / 网络编程-firewall software source code types : C source/Network Programming
- 2022-02-01 23:59:15下载
- 积分:1
-
基于pxa270的linux下smsc9118的网卡驱动源码,支持10/100M的AutoMdix功能,经测试性能稳定...
基于pxa270的linux下smsc9118的网卡驱动源码,支持10/100M的AutoMdix功能,经测试性能稳定-PXA270-based smsc9118 of the network card under linux driver source code, support 10/100M the AutoMdix function, have been tested stable performance
- 2023-07-17 19:40:03下载
- 积分:1
-
八数码问题,用广度优先和深度优先算法实现。并且用mfc实现界面,让结果算法运行过程以动画显示。并附上实验报告...
八数码问题,用广度优先和深度优先算法实现。并且用mfc实现界面,让结果算法运行过程以动画显示。并附上实验报告-Depth-first search algorithm and the breadth-first search algorithm
- 2022-12-26 13:50:03下载
- 积分:1
-
Design of C language source code browser
C语言设计的浏览器的源码,附有设计思想框架等-Design of C language source code browser
- 2022-05-06 12:01:05下载
- 积分:1
-
根据值来取ID,或者根据ID来取值,便于两者之间的转换
根据值来取ID,或者根据ID来取值,便于两者之间的转换-Exchange from ID and values, we can tanslate between ID and values easily.
- 2022-08-07 11:30:05下载
- 积分:1