|
利用IE的多语言动态库实现程序中多语言的自由切换 2003-05-28 |
利用IE的多语言动态库实现程序中多语言的自由切换All Systems (Win 95+ and WinNT4+) with MS Internet Explorer 4 and newer have a library named mlang.dll in the Winnt\System32 directory. Usually you can tell Delphi to simply import these COM Libraries. Th...[全部内容] |
|
如何得到汉字的unicode 2003-05-28 |
你需要的是这样的函数吧? function AnsiToUnicode(Ansi: string):string; var s:string; i:integer; j,k:string[2]; a:array [1..1000] of char; begin s:=''; StringToWideChar(Ansi,@(a[1]),500); i:=1; while ((a[...[全部内容] |
|
PC喇叭发声 2003-05-28 |
:sunstone 时间:00-9-3 7:51:42 ID:325632 送你一个控件unit PCSpk;{* Program : PCSpk.Pas Purpose : TPCSpeaker Component Author Version Last Changed Comments ------ -------&...[全部内容] |
|
WMV的歌曲信息 2003-05-28 |
unit WMAfile;interfaceuses Classes, SysUtils;const { Channel modes } WMA_CM_UNKNOWN = 0; { Unknow...[全部内容] |
|
文件属性对话框 2003-05-28 |
function SHFileProperties(handle:hwnd;uflags:dword;name:pchar;str:pchar):dword;stdcall;external 'shell32.dll' index 178;uFlags=1/2;name:Filename;str:好像不起作用其实只是调用ShellExecuteEX看下面的例子function ShowFileProperties(FileName: String; Wnd: ...[全部内容] |
|
更改图标对话框 2003-05-28 |
SHChangeIconDialog(hwnd,filename,0,index);function SHChangeIconDialog;external 'shell32.dll' index 62;function SHChangeIconDialog(h:hwnd;filename:pchar; Reserved:integer;var index:integer):integer;stdcall;{procedure TForm1.Button1Click(Sender: TObjec...[全部内容] |
|
鼠标屏幕取词技术的原理和实现 2003-05-28 |
“鼠标屏幕取词”技术是在电子字典中得到广泛地应用的,如四通利方和金山词霸等软件,这个技术看似简单,其实在windows系统中实现却是非常复杂的,总的来说有两种实现方式: 第一种:采用截获对部分gdi的api调用来实现,如textout,textouta等。 &...[全部内容] |
|
在Windows2000中拦截Ctrl+Alt+Del 2003-05-28 |
问题:在win2000中如何屏蔽ctrl+del+alt键和其他系统键(98下可以为什么在2000下就不行) ( 积分:100, 回复:20, 阅读:198 )分类:系统相关 ( 版主:luyear, zyy04 ) 来自:xan, 时间:2001-8-26 21:09:00, ID:607224 [显示:小字体 | 大字体] rt!来自:lsyx...[全部内容] |
|
Delphi编程实现Ping操作 2003-05-28 |
Delphi编程实现Ping操作 张泰立 使用过网络的用户都熟悉“Ping”这个指令,它是一个DOS下的可执行文件,一般用它来检查网络连接的好坏程度。其基本原理是利用TCP/IP协议包中ICMP协议中的一个功能,即向所指定的计算机发送一个请求,收到请求的计算机返回一个应答...[全部内容] |
|
断开Internet连接 2003-05-28 |
用Delphi编写可以断开Internet连接的程序 在WIN9X下,如果安装了拨号网络,则在WINDOWS的系统目录(System目录)下将有两个拨号网络管理程序库RasApi32.DLL 和RasApi16.DLL,因此我们可以利用RAS(远程访问服务)系列函数实现断开指定的拨号连接。在这里我们将使用RasH...[全部内容] |