Главная страница
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.024 c
2-1182464746
Lokk83
2007-06-22 02:25
2007.07.15
Обновление DBGRID по таймеру


4-1170854074
DevilDevil
2007-02-07 16:14
2007.07.15
Встроить в Эксплорер свой графический формат


2-1181818041
Ral'f
2007-06-14 14:47
2007.07.15
как можно узнать модель USB-устройства?


15-1181904165
Piter
2007-06-15 14:42
2007.07.15
Мощность мотоциклов


2-1182434197
ambhtr
2007-06-21 17:56
2007.07.15
Как выбрать только папку в OpenDialog