Last change
on this file since 1786 was 1397, checked in by cs025, 24 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
543 bytes
|
Line | |
---|
1 | #ifndef _COPYPROGRESS_H_
|
---|
2 | #define _COPYPROGRESS_H_
|
---|
3 | #include <windows.h>
|
---|
4 |
|
---|
5 | class copyProgressBar
|
---|
6 | { private:
|
---|
7 | unsigned long total;
|
---|
8 | unsigned long copied;
|
---|
9 | HWND progressParent;
|
---|
10 | HWND progressBar;
|
---|
11 | public:
|
---|
12 | copyProgressBar();
|
---|
13 | copyProgressBar(unsigned long totalSize);
|
---|
14 | void registerClass();
|
---|
15 | LRESULT CALLBACK windowProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam);
|
---|
16 | void done(unsigned long bytesDone);
|
---|
17 | void init(unsigned long totalSize);
|
---|
18 | void show();
|
---|
19 | void close();
|
---|
20 | };
|
---|
21 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.