Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.02.17;
Скачать: CL | DM;

Вниз

Какое значение у константы FOF_NORECURSION ?   Найти похожие ветки 

 
AlexRu   (2003-01-05 13:55) [0]

У меня не работает нормально функция SHFileOperation т.к. в модуле ShellAPI не описана константа FOF_NORECURSION. Я думю ввести прямо значение, но где его взять? В MSDN только имена. Вообще, где в таких случаях брать значения констант?


 
ION T ©   (2003-01-05 14:31) [1]

Вот из ShellAPI.h:

////
//// Shell File Operations
////
#ifndef FO_MOVE //these need to be kept in sync with the ones in shlobj.h

#define FO_MOVE 0x0001
#define FO_COPY 0x0002
#define FO_DELETE 0x0003
#define FO_RENAME 0x0004

#define FOF_MULTIDESTFILES 0x0001
#define FOF_CONFIRMMOUSE 0x0002
#define FOF_SILENT 0x0004 // don"t create progress/report
#define FOF_RENAMEONCOLLISION 0x0008
#define FOF_NOCONFIRMATION 0x0010 // Don"t prompt the user.
#define FOF_WANTMAPPINGHANDLE 0x0020 // Fill in SHFILEOPSTRUCT.hNameMappings
// Must be freed using SHFreeNameMappings
#define FOF_ALLOWUNDO 0x0040
#define FOF_FILESONLY 0x0080 // on *.*, do only files
#define FOF_SIMPLEPROGRESS 0x0100 // means don"t show names of files
#define FOF_NOCONFIRMMKDIR 0x0200 // don"t confirm making any needed dirs
#define FOF_NOERRORUI 0x0400 // don"t put up error UI
#define FOF_NOCOPYSECURITYATTRIBS 0x0800 // dont copy NT file Security Attributes
#define FOF_NORECURSION 0x1000 // don"t recurse into directories.
#if (_WIN32_IE >= 0x0500)
#define FOF_NO_CONNECTED_ELEMENTS 0x2000 // don"t operate on connected elements.
#define FOF_WANTNUKEWARNING 0x4000 // during delete operation, warn if nuking instead of recycling (partially overrides FOF_NOCONFIRMATION)
#endif // (_WIN32_IE >= 0x500)
#if (_WIN32_WINNT >= 0x0501)
#define FOF_NORECURSEREPARSE 0x8000 // treat reparse points as objects, not containers
#endif // (_WIN32_WINNT >= 0x501)


Вообще надо всегда иметь компилятор си++ под рукой...



Страницы: 1 вся ветка

Текущий архив: 2003.02.17;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.022 c
1-52909
mate
2003-02-08 15:46
2003.02.17
Как сохранить массив в виде рисунка


1-53092
Trommi
2003-02-07 02:18
2003.02.17
Функция findclose


1-52835
Vitus
2003-02-06 11:32
2003.02.17
Free формы???


1-52984
maxi
2003-02-10 08:44
2003.02.17
MIDAS сервер на TRemouteDataModule. Как передать сооб-е клиентам?


14-53197
Jaxtor
2003-01-31 10:43
2003.02.17
Firebird