PopupFrm.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef PopupFrmH
- #define PopupFrmH
- //---------------------------------------------------------------------------
- #include <vclClasses.hpp>
- #include <vclControls.hpp>
- #include <vclStdCtrls.hpp>
- #include <vclForms.hpp>
- #include <vclExtCtrls.hpp>
- #include "RichView.hpp"
- #include "RVScroll.hpp"
- #include "RVStyle.hpp"
- //---------------------------------------------------------------------------
- class TfrmPopup : public TForm
- {
- __published: // IDE-managed Components
- TPanel *Panel1;
- TRichView *rv;
- TRVStyle *rvs;
- void __fastcall FormKeyPress(TObject *Sender, char &Key);
- void __fastcall rvClick(TObject *Sender);
- void __fastcall FormDeactivate(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- private: // User declarations
- void Build(int DemoNo);
- void MoveToMouse();
- public: // User declarations
- __fastcall TfrmPopup(TComponent* Owner);
- void ShowTopic(int DemoNo);
- };
- //---------------------------------------------------------------------------
- extern TfrmPopup *frmPopup;
- //---------------------------------------------------------------------------
- #endif