设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 编程开发 >> Delphi >> 用delphi实现冰河的远程屏幕操作功能
精品推荐
Delphi点击TOP10
·Delphi2005可以下载了
·用Delphi实现整个网站图片的极速下载
·制作QQ消息炸弹
·TextFile读写
·首次发布Delphi7汉化帮助
·用delphi实现冰河的远程屏幕操作功能
·Delphi的优点
·systemparametersinfo详细用法
·Delphi 6 IDE的运行时抓图及简介
·delphi实现批量缩略图生成工具开发代码
编程开发点击TOP10
·ASP.NET 程序中常用的三十三种代码
·利用ASP.NET构建网上考试系统
·C#版的网站新闻发布系统
·(转)23种设计模式汇集
·设计ASP.NET新闻管理系统
·深山红叶袖珍PE工具箱V16正式版
·我的.NET书架 (入门篇)
·java笔试题
·网页打印问题,打印设置,打印预览,打印分页,纵打,横打及页面的边距
·.NET:是什么?将走向哪里?
精选专题

用delphi实现冰河的远程屏幕操作功能

作者: 来源:网络文章 时间:2005-12-14 17:23:42

用delphi实现冰河的远程屏幕操作功能(6) SetFocus;
CreateSleepThread;
// SleepDone will be called when it is finished
end;

if MsgNum = MSG_COMP_MODE then begin
Move(Data[1], x, sizeof(integer));
CompMode := TCompressionLevel(x);
SendMsg(MSG_COMP_MODE, '', Socket);
end;

if MsgNum = MSG_PRIORITY_MODE then begin
Move(Data[1], x, sizeof(integer));
SetThreadPriority(GetCurrentThread, x);
SendMsg(MSG_PRIORITY_MODE, '', Socket);
end;

if MsgNum = MSG_PROCESS_LIST then begin
SendMsg(MSG_PROCESS_LIST, Get_Process_List, Socket);
end;

if MsgNum = MSG_CLOSE_WIN then begin
CloseWindow(Data);
end;

if MsgNum = MSG_KILL_WIN then begin
KillWindow(Data);
end;

if MsgNum = MSG_DRIVE_LIST then begin
SendMsg(MSG_DRIVE_LIST, Get_Drive_List, Socket);
end;

if MsgNum = MSG_DIRECTORY then begin
SendMsg(MSG_DIRECTORY, GetDirectory(Data), Socket);
end;

if MsgNum = MSG_FILE then begin
SendMsg(MSG_FILE, GetFile(Data), Socket);
end;

if MsgNum = MSG_REMOTE_LAUNCH then begin
SendMsg(MSG_STAT_MSG, 'Launching File: ' + Data, Socket);
rc := ShellExecute(Handle, 'open', PChar(Data), nil, nil, SW_SHOWNORMAL);
if rc <= 32 then begin
Data := Format('ShellExecute Error #%d Launching %s', [rc, Data]);
SendMsg(MSG_REMOTE_LAUNCH, Data, Socket);
end else begin
SendMsg(MSG_REMOTE_LAUNCH, Data, Socket);
end;
end;
end;

function EnumWinProc(hw: THandle; lp: LParam): boolean; stdcall;
var
sl : TStringList;
buf : array[0..MAX_PATH] of char;
s, iv : string;
begin
sl := TStringList(lp);
GetWindowText(hw, buf, sizeof(buf));
if buf<>'' then begin
if IsWindowVisible(hw) then iv := '' else iv := '(Invisible)';
s := Format('%8.8x - %-32s %s', [hw, buf, iv]);
sl.AddObject(s, TObject(hw));
end;
Result := True;
end;

function TServerForm.Get_Process_List: string;
var
sl : TStringList;
begin
sl := TStringList.Create;
EnumWindows(@EnumWinProc, integer(sl));

1.用delphi实现冰河的远程屏幕操作功能(1)
2.用delphi实现冰河的远程屏幕操作功能(2)
3.用delphi实现冰河的远程屏幕操作功能(3)
4.用delphi实现冰河的远程屏幕操作功能(4)
5.用delphi实现冰河的远程屏幕操作功能(5)
6.用delphi实现冰河的远程屏幕操作功能(6)
7.用delphi实现冰河的远程屏幕操作功能(7)
8.用delphi实现冰河的远程屏幕操作功能(8)
9.用delphi实现冰河的远程屏幕操作功能(9)
10.用delphi实现冰河的远程屏幕操作功能(10)
11.用delphi实现冰河的远程屏幕操作功能(11)
12.用delphi实现冰河的远程屏幕操作功能(12)
13.用delphi实现冰河的远程屏幕操作功能(13)
14.用delphi实现冰河的远程屏幕操作功能(14)
15.用delphi实现冰河的远程屏幕操作功能(15)
16.用delphi实现冰河的远程屏幕操作功能(16)
17.用delphi实现冰河的远程屏幕操作功能(17)
18.用delphi实现冰河的远程屏幕操作功能(18)
19.用delphi实现冰河的远程屏幕操作功能(19)
20.用delphi实现冰河的远程屏幕操作功能(20)
21.用delphi实现冰河的远程屏幕操作功能(21)
22.用delphi实现冰河的远程屏幕操作功能(22)
23.用delphi实现冰河的远程屏幕操作功能(23)
共23页 9 7 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [238 :>

用delphi实现冰河的远程屏幕操作功能 相关文章:
用delphi实现冰河的远程屏幕操作功能 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com