//--------------------------------------------------------------------------- #ifndef FrmCctvLogCtrlSubFH #define FrmCctvLogCtrlSubFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "cxButtons.hpp" #include "cxCalc.hpp" #include "cxCheckBox.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxEdit.hpp" #include "cxFilter.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxSplitter.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinCaramel.hpp" #include "dxSkinCoffee.hpp" #include "dxSkinDarkRoom.hpp" #include "dxSkinDarkSide.hpp" #include "dxSkinFoggy.hpp" #include "dxSkinGlassOceans.hpp" #include "dxSkiniMaginary.hpp" #include "dxSkinLilian.hpp" #include "dxSkinLiquidSky.hpp" #include "dxSkinLondonLiquidSky.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinMoneyTwins.hpp" #include "dxSkinOffice2007Black.hpp" #include "dxSkinOffice2007Blue.hpp" #include "dxSkinOffice2007Green.hpp" #include "dxSkinOffice2007Pink.hpp" #include "dxSkinOffice2007Silver.hpp" #include "dxSkinOffice2010Black.hpp" #include "dxSkinOffice2010Blue.hpp" #include "dxSkinOffice2010Silver.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinStardust.hpp" #include "cxLabel.hpp" //--------------------------------------------------------------------------- #define POST_MSG(x,y,z,p) ::PostMessage(x, y, (WPARAM)z, (LPARAM)p) #define USER_MSG(x,y) ::PostMessage(x, WM_USER, (WPARAM)y, (LPARAM)0) #define WM_SUBFORM_CLOSE (WM_USER + 0xF2) // Sub Form Close //--------------------------------------------------------------------------- class TFrmCctvLogCtrlSub : public TForm { __published: // IDE-managed Components TADOQuery *ADOQry; TTimer *TmrShow; TPanel *PnlTop; TPanel *PnlList; TLabel *LblSearch; TImage *ImgDesc01; TLabel *LblRecords; TcxButton *BtnExlSave; TcxCheckBox *ChkExpand; TcxGrid *CxList; TcxGridTableView *TvList; TcxGridColumn *Col01; TcxGridColumn *Col02; TcxGridColumn *Col03; TcxGridColumn *Col04; TcxGridLevel *GlList; TcxGridColumn *Col00; TcxGridColumn *Col05; TcxGridColumn *Col06; TcxGridColumn *Col07; TcxLabel *lblText1; TcxLabel *lblText2; TcxLabel *lblSucc; TcxLabel *lblFai; TcxLabel *lblCnt; TcxLabel *lblV01; TcxLabel *lblV02; TcxLabel *lblV03; TcxLabel *lblV04; TcxLabel *lblV05; TcxLabel *lblV06; TcxLabel *lblV07; TcxLabel *lblV08; TcxLabel *lblV09; TcxLabel *lblV10; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall ChkExpandClick(TObject *Sender); void __fastcall BtnExlSaveClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormDestroy(TObject *Sender); void __fastcall Col06CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); private: // User declarations TcxDataController *m_pGDC; public: HWND FParent; String FStDateTime; String FEdDateTime; String FIdList; public: // User declarations __fastcall TFrmCctvLogCtrlSub(TComponent* Owner, HWND hHandle, String sFrom, String sTo, String sIdList); void __fastcall CommClose(); void __fastcall FormInit(); void __fastcall SelHistory(); void __fastcall DspHistory(); }; //--------------------------------------------------------------------------- //extern PACKAGE TFrmCctvLogCtlSub *FrmCctvLogCtlSub; //--------------------------------------------------------------------------- #endif