-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.h
77 lines (69 loc) · 2.33 KB
/
Main.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// ---------------------------------------------------------------------------
#ifndef MainH
#define MainH
// ---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
// ---------------------------------------------------------------------------
class TFormMousePuff1 : public TForm
{
__published: // IDE-managed Components
TTimer *timerPuff;
TRadioButton *radioBtnGlobal;
TRadioButton *radioBtnProgram;
TTrayIcon *trayIcon;
TUpDown *udTimeout;
TEdit *editTimeout;
TLabel *Label3;
TButton *btnSpy;
TButton *btnHide;
TButton *btnHelp;
TButton *btnExit;
TCheckBox *chkStartToTray;
TCheckBox *chkEnabled;
TPageControl *pageControl1;
TTabSheet *tabsheetTitle;
TTabSheet *tabsheetClass;
TMemo *memoTitle;
TMemo *memoClass;
TTabSheet *tabsheetExe;
TMemo *memoExe;
TTimer *timerKb;
TLabel *Label1;
TCheckBox *chkHideTrayIcon;
TTimer *timerResetHook;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall timerPuffTimer(TObject *Sender);
void __fastcall trayIconClick(TObject *Sender);
void __fastcall btnSpyClick(TObject *Sender);
void __fastcall radioBtnGlobalClick(TObject *Sender);
void __fastcall btnHideClick(TObject *Sender);
void __fastcall btnHelpClick(TObject *Sender);
void __fastcall btnExitClick(TObject *Sender);
void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall chkEnabledClick(TObject *Sender);
void __fastcall timerKbTimer(TObject *Sender);
void __fastcall editTimeoutChange(TObject *Sender);
void __fastcall chkHideTrayIconClick(TObject *Sender);
void __fastcall timerResetHookTimer(TObject *Sender);
protected:
void __fastcall WndProc(TMessage& Message);
private: // User declarations
void Save();
void Load();
UnicodeString ProgramVer();
public: // User declarations
__fastcall TFormMousePuff1(TComponent* Owner);
bool TargetProgram();
void TimerReset();
void HookReset();
};
// ---------------------------------------------------------------------------
extern PACKAGE TFormMousePuff1 *FormMousePuff1;
// ---------------------------------------------------------------------------
#endif