//--------------------------------------------------------------------------- #ifndef UpdateFormUnitH #define UpdateFormUnitH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include "PNGButton.hpp" #include #include "UpdateListBoxUnit.h" //--------------------------------------------------------------------------- class TUpdateForm : public TForm { __published: // IDE-managed Components TImage *m_ImgBkg; TPNGButton *m_btnClose; TImage *m_ImgFlag; UpdateListBoxUnit::TListBox *m_lbUpdateMsg; TLabel *m_lbTitle; TLabel *m_lbDownloadMsg; TLabel *m_lbDownload; TLabel *m_lbCurrentVer; TLabel *m_lbNewVer; void __fastcall FormCreate(TObject *Sender); void __fastcall m_lbDownloadMouseEnter(TObject *Sender); void __fastcall m_lbDownloadMouseLeave(TObject *Sender); void __fastcall m_lbDownloadClick(TObject *Sender); void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift); private: // User declarations //ÏûÏ¢´¦Àí void __fastcall WMNCHitTest(TWMNCHitTest &Msg); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_NCHITTEST, TWMNCHitTest, WMNCHitTest) END_MESSAGE_MAP(TForm) public: // User declarations __fastcall TUpdateForm(TComponent* Owner); void ShowMSG(); }; //--------------------------------------------------------------------------- extern PACKAGE TUpdateForm *UpdateForm; //--------------------------------------------------------------------------- #endif