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
|
#ifndef Unit1H
#define Unit1H
//----------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//----------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
void __fastcall Button1Click(TObject *Sender);
private:
void OnWaveDone(TMessage& msg); // <<<
public:
__fastcall TForm1(TComponent* Owner);
BEGIN_MESSAGE_MAP // <<<
MESSAGE_HANDLER( // <<<
MM_WOM_DONE, TMessage, OnWaveDone) // <<<
END_MESSAGE_MAP(TForm) // <<<
};
//-----------------------------------------------------
extern PACKAGE TForm1 *Form1;
//-----------------------------------------------------
#endif |
Partager