> > ShellExecute(0, "find", "c:\\temp",0,0,SW_SHOWNORMAL); > > --- > ну во-первых глагол find для данной функции не > задокументирован,но допустим он может быть применен.Но все Blah-Blah-Blah
edit Launches an editor and opens the document for editing. If
lpFile is not a document file, the function will fail.
explore Explores the folder specified by lpFile.
find Initiates a search starting from the specified directory.
open Opens the file specified by the lpFile parameter. The file
can be an executable file, a document file, or a folder.
print Prints the document file specified by lpFile. If lpFile is not
a document file, the function will fail.
> равно возвращается код ошибки 2. > и даже если бы она нашла файл,то мой вопрос состоял не в > функции поиска файла. а в функции,ВЫВОДЯЩЕЙ СТАНДАРТНОЕ > ВИНДОВОЕ ОКНО ПОИСКА,КОТОРОЕ ПОЯВЛЯЕТСЯ ПОСЛЕ НАЖАТИЯ F3
void main()
{
::ShellExecute(0, "find", "c:\\temp",0,0,SW_SHOWNORMAL);
}
---
Vot eta hitraiay programka vyzyvaet find dialog v directory c:\temp
ShellExecute Function
|