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

Вниз

Использование ProgressBar   Найти похожие ветки 

 
nord489   (2007-06-22 17:00) [0]

Здравствуйте.
Подскажите как сделать чтобы  ProgressBar отображал состояния копирования файла.


 
Desdechado ©   (2007-06-22 17:03) [1]

BOOL CopyFileEx(
   LPCWSTR lpExistingFileName, // pointer to name of an existing file
   LPCWSTR lpNewFileName, // pointer to filename to copy to
   LPPROGRESS_ROUTINE lpProgressRoutine, // pointer to the callback function
   LPVOID lpData, // to be passed to the callback function
   LPBOOL pbCancel, // flag that can be used to cancel the operation
   DWORD dwCopyFlags // flags that specify how the file is copied
  );


lpProgressRoutine

Specifies the address of a callback function of type LPPROGRESS_ROUTINE that is called each time another portion of the file has been copied. This parameter can be NULL. For more information on the progress callback function, see CopyProgressRoutine.


 
homm ©   (2007-06-22 22:41) [2]

> Подскажите как сделать чтобы  ProgressBar отображал состояния
> копирования файла.

У него есть волшебное свойство Position.



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

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

Наверх




Память: 0.47 MB
Время: 0.017 c
4-1170304551
apic
2007-02-01 07:35
2007.07.15
WMI


2-1182368953
Просто_новичок
2007-06-20 23:49
2007.07.15
Обработка Enter у Memo


15-1181601761
Kostafey
2007-06-12 02:42
2007.07.15
Вопрос к модераторам


15-1181691118
programmerts
2007-06-13 03:31
2007.07.15
Глюк с Delphi 6.


1-1178875351
VladkoRUS
2007-05-11 13:22
2007.07.15
LIBRARY под Kylix и FreePascal