Главная страница
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
2-1182164931
vima
2007-06-18 15:08
2007.07.15
Загрузка запроса из файла.


15-1180860950
SkySpeed
2007-06-03 12:55
2007.07.15
Подскажите программу для создания справки (*.hlp) (для Delphi)


15-1181851885
homm
2007-06-15 00:11
2007.07.15
Ничего не понимаю. Лыжи затупились?


15-1181687011
Makhanev Alexander
2007-06-13 02:23
2007.07.15
SFX архив...


2-1182670989
Bad_B
2007-06-24 11:43
2007.07.15
ShellExecute, WinExec