-
Notifications
You must be signed in to change notification settings - Fork 225
/
ProgressBar.h
33 lines (31 loc) · 1.19 KB
/
ProgressBar.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//---------------------------------------------------------------------------
#ifndef ProgressBarH
#define ProgressBarH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include "Main.h"
//---------------------------------------------------------------------------
class TFProgressBar : public TForm
{
__published: // IDE-managed Components
TProgressBar *pb;
TStatusBar *sb;
void __fastcall FormShow(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TFProgressBar(TComponent* Owner);
void __fastcall StartProgress(String text0, String text1, int steps);
void __fastcall wm_updAnalysisStatus(TMessage& msg);
BEGIN_MESSAGE_MAP
VCL_MESSAGE_HANDLER(WM_UPDANALYSISSTATUS, TMessage, wm_updAnalysisStatus);
END_MESSAGE_MAP(TForm)
};
//---------------------------------------------------------------------------
extern PACKAGE TFProgressBar *FProgressBar;
//---------------------------------------------------------------------------
#endif