一、* what is run loop *1、A run loop is an abstraction that (among other things) provides a mechanism to handle system input sources (sockets, ports, files, keyboard, mouse, timers, etc).Each NSThread ha...
分类:
移动开发 时间:
2015-02-27 15:16:04
阅读次数:
218
这段代码可以让Python遍历当前Windows下所有运行程序的窗口,并获得运行窗口的标题输出#! /usr/bin/env python# -*- coding: utf-8 -*-from win32gui import *titles = set()def foo(hwnd,mouse): ....
分类:
编程语言 时间:
2015-02-26 18:18:09
阅读次数:
469
http://acm.timus.ru/problem.aspx?space=1&num=15571557. Network AttackTime limit: 2.0 secondMemory limit: 64 MBIn some computer company, Mouse Inc., th...
分类:
Web程序 时间:
2015-02-18 00:54:26
阅读次数:
365
CPU(Center Processor Unit)中央处理单元
mainboard主板
RAM(random access
memory)随机存储器(内存)
ROM(Read Only Memory)只读存储器
Floppy Disk软盘
Hard Disk硬盘
CD-ROM光盘驱动器(光驱)
monitor监视器
keyboard键盘
mouse鼠标
chip芯片
CD...
分类:
其他好文 时间:
2015-02-16 19:40:14
阅读次数:
205
安装X桌面环境:安装Xorg:
检测显卡信息:
dmesg | grep video
lspci | grep -i VGA
配置INPUT_DEVICE、VIDEO_CARDS变量:
在安装Xorg之前,你需要在/etc/portage/make.conf文件中设置两个重要的变量。 (For mouse, keyboard, and Synaptics touchpad support)...
分类:
其他好文 时间:
2015-02-10 18:49:42
阅读次数:
222
<html> <head> <script type="text/javascript"> myImages=new Array() myImages[0]="/i/eg_mouse.jpg" myImages[1]="/i/eg_smile.gif" myImages[2]="/i/eg_landscape.jpg" myImages[3]="/i/eg_landscape2.jpg" m...
分类:
Web程序 时间:
2015-02-08 23:27:56
阅读次数:
422
鼠标模拟的常用方案,包括发送鼠标事件消息和使用mouse_event系统函数,发送鼠标消息的例子如下:pWnd->SendMessage(WM_RBUTTONDOWN,0,(ySendMessage(WM_RBUTTONDOWN,0,(ySendMessage(WM_RBUTTONUP,0,(ySe...
分类:
其他好文 时间:
2015-02-07 11:34:58
阅读次数:
100
Symbolic constantHexadecimal valueMouse or keyboard equivalentVK_LBUTTON0x01Left mouse button.VK_RBUTTON0x02Right mouse button.VK_CANCEL0x03Control-br...
分类:
编程语言 时间:
2015-01-31 14:18:00
阅读次数:
898
1. 鼠标浮在方法名上就能看注释(这个功能的名称叫quick documentation,快捷键是F2或Ctrl+Shift+Space) 设置成自动显示,方法如下: There is nice feature which shows quick documentation when your mouse is...
分类:
系统相关 时间:
2015-01-31 00:34:42
阅读次数:
272
书籍名称:HTML5-Animation-with-JavaScript书籍源码:https://github.com/lamberta/html5-animation11.物体内外的事件判断物体内外的条件是判断鼠标位置和物体中心的位置。01-mouse-events.html M...
分类:
移动开发 时间:
2015-01-29 14:30:03
阅读次数:
274