现金答谢:怎么往别人的程序里的四个输入框里写入值 急。。。在线等(50分)

  • 主题发起人 无头骑士
  • 开始时间

无头骑士

Unregistered / Unconfirmed
GUEST, unregistred user!
现金答谢:怎么往别人的程序里的四个输入框里写入值??
现金答谢:300元。。。。。。
有意加:QQ:7231715
 
M

Mike1234567890

Unregistered / Unconfirmed
GUEST, unregistred user!
什么样的输和框啊
 

无头骑士

Unregistered / Unconfirmed
GUEST, unregistred user!
就是windows的远程桌面连接
 

我爱PASCAL

Unregistered / Unconfirmed
GUEST, unregistred user!
我来加你QQ了。
 
C

cxz9

Unregistered / Unconfirmed
GUEST, unregistred user!
(*
SendKeys routine for 32-bit Delphi.
Written by Ken Henderson
Copyright (c) 1995 Ken Henderson email:khen@compuserve.com
This unit includes two routines that simulate popular Visual Basic
routines: Sendkeys and AppActivate. SendKeys takes a PChar
as its first parameter and a boolean as its second, like so:
SendKeys('KeyString', Wait);
where KeyString is a string of key names and modifiers that you want
to send to the current input focus and Wait is a boolean variable or value
that indicates whether SendKeys should wait for each key message to be
processed before proceeding. See the table below for more information.
AppActivate also takes a PChar as its only parameter, like so:
AppActivate('WindowName');
where WindowName is the name of the window that you want to make the
current input focus.
SendKeys supports the Visual Basic SendKeys syntax, asdo
cumented below.
Supported modifiers:
+ = Shift
^ = Control
% = Alt
Surround sequences of characters or key names with parentheses in order to
modify them as a group. For example, '+abc' shifts only 'a', while '+(abc)' shifts
all three characters.
Supported special characters
~ = Enter
( = begin
modifier group (see above)
) = End modifier group (see above)
{ = begin
key name text (see below)
} = End key name text (see below)
Supported characters:
Any character that can be typed is supported. Surround the modifier keys
listed above with braces in order to send as normal text.
Supported key names (surround these with braces):
 

无欲则刚

Unregistered / Unconfirmed
GUEST, unregistred user!
用Findwindow查找出输入框句柄
然后用sendmessage向输入框发送消息
楼上的方法是用sendkey,他借用的是vb的函数,delphi里没有该函数,但有人写的delphi版的sendkey函数,你可以在网上搜索一下,在大富翁离线库里就可以搜到
 
K

kingsonchan

Unregistered / Unconfirmed
GUEST, unregistred user!
Findwindow后可以直接SetWindowText啦。
 

暗夜中独舞

Unregistered / Unconfirmed
GUEST, unregistred user!
简单的输入框应该很简单 就怕对方程序对输入框做了子类化处理,或者使用了自己的输入框
 
D

djsyz

Unregistered / Unconfirmed
GUEST, unregistred user!
blog.csdn.net/djsyz,有一段QQ方言的源码,可以实现你说的功能。
 

Similar threads

D
回复
0
查看
2K
DelphiTeacher的专栏
D
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
顶部