W wanglw Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-26 #1 在delphi中listView中点击图标后按文件名类型打开文件<br>有没有相关API函数调用
Z zhihuali Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-26 #2 Uses<br>ShellApi;<br><br>procedure TForm1.OpenRootDirBtnClick(Sender : TObject)<br>Begin<br>ShellExecute(handle, 'Open', 'FILENAME', Nil, Nil, SW_SHOWNORMAL);<br>End;
Uses<br>ShellApi;<br><br>procedure TForm1.OpenRootDirBtnClick(Sender : TObject)<br>Begin<br>ShellExecute(handle, 'Open', 'FILENAME', Nil, Nil, SW_SHOWNORMAL);<br>End;