⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 055.htm

📁 Delphi书籍--Delphi网上教程
💻 HTM
字号:
<HTML><HEAD><meta http-equiv="Content-Type" content="text/html; charset=GB2312"><TITLE>-->DELPHI专题文档-程序应用-->控制面板应用大全</TITLE>
<META NAME="keywords" CONTENT=" DELPHI专题文档-程序应用 控制面板应用大全">
<META NAME="description" CONTENT=" - DELPHI专题文档-程序应用 - 控制面板应用大全">

<style>
<!--
#page {position:absolute; z-index:0; left:0px; top:0px}
.tt3 {font: 9pt/12pt "宋体"}
.tt2 {font: 12pt/15pt "宋体"}
a {text-decoration:none}
a:hover {color: blue;text-decoration:underline}
-->
</style>
</HEAD>
<a href="index6.html">返回</a>

<body text="#000000" aLink=#9900ff link=#006699 vLink=#006699 bgcolor="#FFFFFF" leftmargin="3" topmargin="3" marginheight="3" marginwidth="3">
<TABLE WIDTH="100%" CELLPADDING=10 CELLSPACING=0 BORDER=0>
<TR>

<TD class="tt2" bgcolor="#F5F8F8" width="84%"><center><B><FONT style="FONT-SIZE: 16.5pt" COLOR="#FF6666" FACE="楷体_GB2312">控制面板应用大全</FONT></B></center>
<hr color="#EE9B73" size="1" width="94%">
<p class="tt2">在程序运行过程中启动控制面板的各个设置功能:<br>
var x:cardinal;<br> 
begin<br> 
{启动控制面板}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL',9);<br> 
{辅助选项 属性-键盘}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1',9);<br> 
{辅助选项 属性-声音}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2',9);<br> 
{辅助选项 属性-显示}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3',9);<br> 
{辅助选项 属性-鼠标}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4',9);<br> 
{辅助选项 属性-常规}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5',9);<br> 
{添加/删除程序 属性-安装/卸载}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,1',9);<br> 
{添加/删除程序 属性-Windows安装程序}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,2',9);<br> 
{添加/删除程序 属性-启动盘}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,3',9);<br> 
{显示 属性-背景}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0',9);<br> 
{显示 属性-屏幕保护程序}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1',9);<br> 
{显示 属性-外观}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2',9);<br> 
{显示 属性-设置}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3',9);<br> 
{Internet 属性-常规}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,0',9);<br> 
{Internet 属性-安全}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,1',9);<br> 
{Internet 属性-内容}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,2',9);<br> 
{Internet 属性-连接}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,3',9);<br> 
{Internet 属性-程序}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,4',9);<br> 
{Internet 属性-高级}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,5',9);<br> 
{区域设置 属性-区域设置}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,0',9);<br> 
{区域设置 属性-数字}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,1',9);<br> 
{区域设置 属性-货币}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,2',9);<br> 
{区域设置 属性-时间}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,3',9);<br> 
{区域设置 属性-日期}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,4',9);<br> 
{游戏控制器-一般}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,0',9);<br> 
{游戏控制器-高级}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,1',9);<br> 
{鼠标 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Main.cpl',9);<br> 
{多媒体 属性-音频}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,0',9);<br> 
{多媒体 属性-视频}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,1',9);<br> 
{多媒体 属性-MIDI}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,2',9);<br> 
{多媒体 属性-CD音乐}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,3',9);<br> 
{多媒体 属性-设备}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,4',9);<br> 
{调制解调器 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Modem.cpl',9);<br> 
{网络}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Netcpl.cpl',9);<br> 
{密码 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Password.cpl',9);<br> 
{扫描仪与数字相机 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sticpl.cpl',9);<br> 
{系统 属性-常规}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,0',9);<br> 
{系统 属性-设备管理器}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,1',9);<br> 
{系统 属性-硬件配置文件}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,2',9);<br> 
{系统 属性-性能}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,3',9);<br> 
{日期/时间 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL timedate.cpl',9);<br> 
{电源管理 属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Powercfg.cpl',9);<br> 
{拨号属性}<br> 
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Telephon.cpl',9);<br> 
{----------调用错误-----------}<br> 
if x=0 then messagebox(0,'程序超出内存','错误',0);<br> 
if x=ERROR_BAD_FORMAT then messagebox(0,'该程序非一个合法的Win32.EXE程序).','错误',0);<br> 
if x=ERROR_FILE_NOT_FOUND then messagebox(0,'指定文件没找到','错误',0);<br> 
if x=ERROR_PATH_NOT_FOUND then messagebox(0,'指定路径没找到','错误',0);<br> 
end; </p> 
<hr color="#EE9B73" size="1" width="94%"> 
 
</TD> 
 
</TR> 
</table> 
</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -