Главная страница
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.012 c
3-52713
samson
2003-02-01 11:14
2003.02.17
XL Report


8-53132
E3
2002-11-04 07:55
2003.02.17
OpenGL... Помогите!!!!!


1-52975
Dragon 31337
2003-02-09 23:53
2003.02.17
Как засечь время, лучше с большой точностью


3-52776
Толян
2003-01-31 10:36
2003.02.17
Как работает TField.Value???


3-52722
dvp
2003-01-30 09:16
2003.02.17
Поиск по нажатию в LookUp поле