📄 subject_65633.htm
字号:
<p>
序号:65633 发表者:自强不息 发表日期:2003-12-18 16:42:26
<br>主题:ShellExecute为什么不能调出属性窗口?
<br>内容:想弹出文件名为name的文件的属性窗口。<BR>用ShellExecute如下为什么不行?<BR><BR>ShellExecute(NULL, "properties", name, NULL, NULL, SW_SHOW);<BR><BR>有没有其他的方法能弹出文件的属性窗口/<BR><BR>Thanks!
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:下次用什么名字? 回复日期:2003-12-18 16:58:27
<br>内容:SHELLEXECUTEINFO ShExecInfo ={0};<BR><BR>ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);<BR><BR>ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;<BR><BR>ShExecInfo.hwnd = NULL;<BR><BR>ShExecInfo.lpVerb = "properties";<BR><BR>ShExecInfo.lpFile = "c:\"; //也可以是文件<BR><BR>ShExecInfo.lpParameters = ""; <BR><BR>ShExecInfo.lpDirectory = NULL;<BR><BR>ShExecInfo.nShow = SW_SHOW;<BR><BR>ShExecInfo.hInstApp = NULL; <BR><BR>ShellExecuteEx(&ShExecInfo);<BR>网上来的,不知道对不对
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -