Главная страница
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.013 c
1-1179149236
Strate
2007-05-14 17:27
2007.07.15
Вытащить запущенный экземпляр.


2-1182168494
nord489
2007-06-18 16:08
2007.07.15
Копирование файлов


15-1181950866
ShadowGM
2007-06-16 03:41
2007.07.15
Буффер обмена


15-1181941093
Слоник_
2007-06-16 00:58
2007.07.15
Скриншотилка


15-1180412042
pavel_guzhanov
2007-05-29 08:14
2007.07.15
Семинар CodeGear в Москве