共查询到19条相似文献,搜索用时 125 毫秒
1.
袁晓鹏 《电脑编程技巧与维护》2006,(6):76-82
屏幕保护是Windows的一个基本功能,是响应鼠标、键盘,而屏蔽WM_SYSCOMMAND消息的应用程序,它实际上是。个带有某种固定约定的普通的应用程序。我们完全可以绕开Windows的屏幕保护机制,编制一个普通的应用程序,通过检测鼠标、键盘事件、屏蔽系统事件、发布系统消息等措施来实现屏幕保护功能,但实现起来需要考虑的因素比较复杂,与Windows的结合不紧密。 相似文献
2.
3.
一、事件和事件处理 X窗口系统的应用程序是事件驱动型程序,X服务器获取事件发送给应用程序,并由其进行处理。常见的事件有鼠标按下、鼠标移动、鼠标释放、键盘以及暴露事件等。在建立窗口树和widget树时,应用程序必须为每一个窗口和widget指定其所能接收的事件类型以及接收到该事件后所进行的动作。上期的例1和例2分别用XLib和XToolkit实现了相同的功能:在根窗口内按下鼠标键将 相似文献
4.
5.
6.
7.
许多应用程序的菜单以及游戏软件的图象既可用键盘控制又可用鼠标控制.本文提供一个键盘、鼠标综合读取函数Read KeyMouse(x,y,minx,miny,maxx,maxy,pace).将该函数嵌入您的应用程序,将产生同样神奇的效果.执行该函数时,如果鼠标没有安装组未执行鼠标驱动程序,屏幕上将在坐标(x,y)处出现一个十字光标,按动键盘右方小键盘上的数字键,能在八个方向上拖动光标移动.如果安装了鼠标并执行了相应的驱动程序,则屏幕上将在(x,y)处出现一个鼠标光标,既可拖动鼠标来控制光标的移动,也能如上述一样用键盘控制.光标的移动范围由minx,miny;maxx和maxy的值限定,pace确定移动步距.光标的位置由x、y值返回,键盘上按下的键值或鼠标上按下的按钮值通过函数名返回. 相似文献
8.
随着无线键盘、鼠标的广泛使用,用户在享受无线键盘、鼠标方便快捷的同时,也不得不面对一些和以往有线键盘鼠标不同的使用技巧和方法。本文将重点介绍一些无线键盘鼠标使用中常见的问题和应用技巧。 相似文献
9.
10.
主板的键盘鼠标开机功能是造成鼠标在关机后仍然发光的最普遍的原因--为了实现键盘鼠标开机、网络唤醒等电源管理功能.目前市场上主流的ATX12V电源都会向主板提供 5VSB的供电. 相似文献
11.
Hook函数在监控记录系统中的应用 总被引:1,自引:1,他引:1
监控记录系统的首要功能是对用户输入的文字或点击鼠标等操作的实时记录以及对记录的回放。本文首先介绍了Windows平台下钩子函数的特点及关键技术,并通过鼠标和键盘这两种钩子函数来实现对被监控计算机用户操作的记录,并给出实现过程。 相似文献
12.
通过系统级键盘挂钩和鼠标挂钩实现对键盘扩展功能键的支持,论文演示了处理挂钗回调函数的详细代码。 相似文献
13.
14.
首先简述了计算机键盘和鼠标的原理,而后提出了一种利用双89C2051CPU实现远程键盘和鼠标的交互方法,并给出了电原理图,通信协议和软件流程图。实践表明,该方法具有结构简单,价格低,稳定可靠等特点。 相似文献
15.
输入事件,即鼠标和键盘操作所引发的事件,其记录与回放意味着一段操作过程的记录与重放,这对于软件演示和数学演示很有意义。本文论述了用Hook技术来实现这一功能的技术问题,并给出了一个程序样例。 相似文献
16.
Anecdotal reports of shoulder and arm discomfort related to computer mouse use are common. The aim of this study of ten subjects was to examine the influence of mouse position, relative to the keyboard, on shoulder and arm muscular activity and working posture. Surface electromyography and the Rapid Upper Limb Assessment were used to determine the differences in muscle activity and posture during an editing task in each of three mouse positions. Significantly less anterior (p = 0.01) and middle (p = 0.03) deltoid electromyographic activity was demonstrated when the computer mouse was positioned adjacent to a keyboard without a numeric pad when compared to performance of an identical task with the mouse adjacent to a standard keyboard. Electromyographic activity in trapezius muscle did not differ between mouse positions. Working posture of right handed mouse users is improved by removal of the numeric keypad. 相似文献
17.
虚拟拉伸实验的设计和实现 总被引:1,自引:0,他引:1
利用虚拟现实技术开发了虚拟拉伸实验,阐述了该虚拟实验的功能特点、结构模式以及设计原理,分析了其实现流程及方法,包括三维场景建模、虚拟场景动态生成以及交互式虚拟场景的开发。提出了利用可视化编程语言VB开发一个实现复杂交互动作功能的平台,该平台提供了友好界面,使用户能够直观地组成虚拟三维实验场景,利用键盘或鼠标来控制三维试验机在虚拟场景中运动,并根据用户的指令实现从静态界面对虚拟场景的调用及虚拟场景中试验仪器、工具及其事件的交互,从而控制虚拟模型的动作进行实验。 相似文献
18.
Catherine G. Wolf 《Behaviour & Information Technology》1992,11(1):13-23
This paper presents results from three experiments which compared gestural, keyboard, and mouse/keyboard interfaces to a spreadsheet program. This is the first quantitative comparison of these types of interfaces known to the author. The gestural interface employed gestures (hand-drawn marks such as carets or brackets) for commands, and handwriting as input techniques. In one configuration, the input/output hardware consisted of a transparent digitizing tablet mounted on top of an LCD which allowed the user to interact with the program by writing on the tablet with a stylus. The experiments found that participants were faster with the gestural interface than with the keyboard or mouse/keyboard interface. In addition, subjects tended to prefer the gestural interface over the keyboard interface. Inexperienced mouse users also tended to prefer the gestural interface over the mouse/keyboard interface, although experienced mouse users preferred the mouse. The main difficulties with the gestural interface had to do with poor display legibility and problems with the stylus. The benefits of the gestural interface are explained in terms of the fewer number of steps required to carry out an operation, the greater ease of remembering gestural commands, and the ability to focus on a single surface for input and output. 相似文献
19.
刘鑫 《电脑编程技巧与维护》2012,(10):78-79,122
详细分析Windows的I/O机制,提出了分别在用户级、系统级、驱动级的I/O模拟操作,通过实际案例和源代码分享在I/O模拟上的得失,着重介绍鼠标与键盘的模拟。 相似文献