如何直接打开资源管理器的搜索
声明本代码来自互联网,版权属于原作者
通过DDE直接打开资源管理器的搜索,说白了就是用DDE执行宏命令
with TDDEClientConv.Create(Self) do begin
ConnectMode := ddeManual;
ServiceApplication := 'explorer.exe';//一看就懂
SetLink( 'Folders', 'AppProperties') ;//一看就懂
OpenLink;
ExecuteMacro
('[FindFolder(, C:/)]', False) ;//一看就懂
CloseLink;
Free;
end;
就这么简单,哈哈。