statusbaru.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:4k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef statusbaruH
  3. #define statusbaruH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "fcButton.hpp"
  10. #include "fcButtonGroup.hpp"
  11. #include "fcClearPanel.hpp"
  12. #include "fcDemoRichEdit.hpp"
  13. #include "fcImgBtn.hpp"
  14. #include "fcLabel.hpp"
  15. #include "ShellAPI.hpp"
  16. #include "fcStatusBar.hpp"
  17. #include <Buttons.hpp>
  18. #include <ComCtrls.hpp>
  19. #include <ExtCtrls.hpp>
  20. #include <ImgList.hpp>
  21. #include <Menus.hpp>
  22. #include "CGAUGES.h"
  23. //---------------------------------------------------------------------------
  24. class TStatusBarDemoForm : public TForm
  25. {
  26. __published: // IDE-managed Components
  27.         TPageControl *PageControl1;
  28.         TTabSheet *TabSheet2;
  29.         TfcDemoRichEdit *fcDemoRichEdit2;
  30.         TfcStatusBar *fcStatusBar2;
  31.         TTabSheet *TabSheet3;
  32.         TfcDemoRichEdit *fcDemoRichEdit3;
  33.         TfcStatusBar *fcStatusBar3;
  34.         TTabSheet *TabSheet4;
  35.         TfcDemoRichEdit *fcDemoRichEdit4;
  36.         TfcStatusBar *fcStatusBar4;
  37.         TTabSheet *TabSheet5;
  38.         TfcDemoRichEdit *fcDemoRichEdit5;
  39.         TfcStatusBar *fcStatusBar5;
  40.         TTabSheet *TabSheet6;
  41.         TfcDemoRichEdit *fcDemoRichEdit6;
  42.         TfcStatusBar *fcStatusBar6;
  43.         TTabSheet *TabSheet7;
  44.         TfcDemoRichEdit *fcDemoRichEdit7;
  45.         TfcStatusBar *fcStatusBar7;
  46.         TTabSheet *TabSheet8;
  47.         TfcDemoRichEdit *fcDemoRichEdit8;
  48.         TfcStatusBar *fcStatusBar8;
  49.         TSpeedButton *SpeedButton1;
  50.         TProgressBar *ProgressBar1;
  51.         TPanel *Panel1;
  52.         TfcLabel *fcLabel1;
  53.         TfcButtonGroup *fcButtonGroup1;
  54.         TfcImageBtn *Keyboardstyles;
  55.         TfcImageBtn *datetimestyles;
  56.         TfcImageBtn *computerinfostyle;
  57.         TfcImageBtn *imagestyle;
  58.         TfcImageBtn *hintsstyle;
  59.         TfcImageBtn *RichEditstyle;
  60.         TfcImageBtn *customcontrolstyle;
  61.         TMainMenu *MainMenu1;
  62.         TMenuItem *Main1;
  63.         TMenuItem *Close1;
  64.         TMenuItem *Secondary1;
  65.         TMenuItem *Control1;
  66.         TMenuItem *Item1;
  67.         TMenuItem *psMenu1;
  68.         TMenuItem *Item11;
  69.         TMenuItem *Menu1;
  70.         TMenuItem *RichEditRowCol1;
  71.         TMenuItem *Item3;
  72.         TImageList *ImageList1;
  73.         TTimer *Timer1;
  74.         TAnimate *Animate1;
  75.         TCGauge *CGauge1;
  76.         void __fastcall fcButtonGroup1Change(
  77.           TfcCustomButtonGroup *ButtonGroup,
  78.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  79.         void __fastcall Close1Click(TObject *Sender);
  80.         void __fastcall fcLabel1Click(TObject *Sender);
  81.         void __fastcall fcLabel1MouseEnter(TObject *Sender);
  82.         void __fastcall fcLabel1MouseLeave(TObject *Sender);
  83.         void __fastcall fcStatusBar7Panels0DrawText(TfcStatusPanel *Panel,
  84.           AnsiString &Text, bool &Enabled);
  85.         void __fastcall fcStatusBar7Panels1DrawText(TfcStatusPanel *Panel,
  86.           AnsiString &Text, bool &Enabled);
  87.         void __fastcall fcStatusBar7Panels3DrawText(TfcStatusPanel *Panel,
  88.           AnsiString &Text, bool &Enabled);
  89.         void __fastcall fcStatusBar4Panels0DrawText(TfcStatusPanel *Panel,
  90.           AnsiString &Text, bool &Enabled);
  91.         void __fastcall fcStatusBar4Panels1DrawText(TfcStatusPanel *Panel,
  92.           AnsiString &Text, bool &Enabled);
  93.         void __fastcall fcStatusBar3Panels3DrawText(TfcStatusPanel *Panel,
  94.           AnsiString &Text, bool &Enabled);
  95.         void __fastcall Timer1Timer(TObject *Sender);
  96.         void __fastcall FormActivate(TObject *Sender);
  97.         void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  98.         void __fastcall Control1Click(TObject *Sender);
  99. private: // User declarations
  100. public: // User declarations
  101.         __fastcall TStatusBarDemoForm(TComponent* Owner);
  102. };
  103. //---------------------------------------------------------------------------
  104. extern PACKAGE TStatusBarDemoForm *StatusBarDemoForm;
  105. //---------------------------------------------------------------------------
  106. #endif