Главная страница
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.021 c
3-1176798492
TableUser
2007-04-17 12:28
2007.07.15
Как сохранить данные своего типа?


3-1176715361
Laymer
2007-04-16 13:22
2007.07.15
Картинка и Blob поле


2-1182139121
Riply
2007-06-18 07:58
2007.07.15
DeviceIoControl и повторное открытие диска.


1-1179242372
Calibr
2007-05-15 19:19
2007.07.15
Текстовый курсор в Edit


3-1176552454
Чародей
2007-04-14 16:07
2007.07.15
Связи