sys
百度空间 | 百度首页 
 
文章列表
 
2009-04-09 15:44

http://junglesong.ycool.com/post.998532.html

上次我们谈到了在VB应用程序使用Sendkey函数来实现焦点转移的处理,但它的功
能不仅限于程序内部,对于其它程序一样有效,只要加上AppActivate这个函数的
帮助,我们就可以向其它窗口上传递任何键盘信息。

AppActivate只用一个参数AppActivate( AppCaption),AppCaption是应用程序
窗口的左上角标题,一般向窗口传送按键信息的过程是这样。

A

 
2009-04-09 15:43

http://wenwen.soso.com/z/q82035887.htm?rq=125323933&ri=1&uid=0

用VB自带的SENDKEY不好操作

直接用API最快,还可以控制按钮是按下状态还是放开状态


Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal Scan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

'这个可以按下键盘上的第二个灯,要什么功能自己加吧
Private Sub Command1_Clic
 
2009-04-09 15:38

http://www.sendkey.cn/post/26.html

一:先用WINSOCK(以下简称WSK)连接目标主机:
Winsock1.RemoteHost = “www.baidu.com”
Winsock1.RemotePort = 80 'WEB服务器端口
二:等待目标主机响应,当连接成功后向目标发送HTTP头信息。HTTP协议有1.1和1.0(基本淘汰),下面给出一个标准的1.1头信息:
strCommand = "GET / HTTP/1.1" + vbCrLf
strCommand = strCommand + "Accept: */*" + vbCrLf
strComman

 
2009-04-09 14:31
 
2009-02-03 12:06
 
2009-01-11 12:40
 
2008-06-23 22:42

#dialogTable.py

# define a name:callback demos table

from tkFileDialog   import askopenfilename        # get standard dialogs
from tkColorChooser import askcolor               # they live in Lib/lib-tk
from tkMessageBox   import askquestion, showerror
from tkSimpleDialog import askfloat

demos = {
    'Open':

 
2008-05-15 21:59
 
2008-05-11 16:57
http://hi.baidu.com/xa982/blog/item/0fe762816f01ecdbbc3e1e0c.html

Pygame is a python wrapper for SDL, written by Pete Shinners. What this means is that, using pygame, you can write games or other multimedia applications in Python that will run unaltered on any of SDL's supported platforms (Windows, Unix, Mac, beOS and others).
  Pygame是一个由Pete

 
2008-05-06 14:41
 
     
 
 
个人档案
 
tigerjgh

上次登录:
5月29日
加为好友
 
   
 
最新照片
 
   
 
订阅我的空间
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     
 
最近访客
 
 

奶奶我柿子

睇Me表演

途中的镜子

奥米加的天空

hxf0663

isumerian

double

pxyn
     


©2009 Baidu