123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #pragma once
- #include "stdafx.h"
- #include "afxcmn.h"
- #include "TabSheet.h"
- #include "BtnST.h"
- #include "HKVisionDlg.h"
- #include "PlayerDlg.h"
- #include "Dlg_Settings.h"
- #include "afxwin.h"
- // CDlg_Main 对话框
- class CDlg_Main : public CDialog
- {
- DECLARE_DYNAMIC(CDlg_Main)
- public:
- CDlg_Main(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlg_Main();
- CHKVisionDlg *m_pMonitor;
- CPlayerDlg *m_pPlayBack;
- CDlg_Settings *m_pSettings;
- // 对话框数据
- enum { IDD = IDD_DLG_MAIN };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- CTabSheet m_Tab_Item;
- virtual BOOL OnInitDialog();
- void SetCtrlPos();
- CButtonST m_Btn_Moniter;
- CButtonST m_Btn_PlayBack;
- CButtonST m_Btn_Settings;
- void InitChildWindow(void);
- void HighAllDlg();
- void InitMoniterRect();
- void InitPlayBackRect();
- void InitSettingsRect();
- afx_msg void OnBnClickedBtnMoniter();
- afx_msg void OnBnClickedBtnPlayback();
- afx_msg void OnBnClickedBtnSettings();
- int m_nShowIndex;
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- };
|