DlgSetting.h
上传用户:hbzxgg2
上传日期:2009-03-28
资源大小:291k
文件大小:1k
- #pragma once
- // CDlgSetting 对话框
- class CDlgSetting : public CDialog
- {
- DECLARE_DYNAMIC(CDlgSetting)
- public:
- CDlgSetting(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlgSetting();
- // 对话框数据
- enum { IDD = IDD_DIALOG_Setting };
- enum
- {
- TIMERID_INITED = 1,
- };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- CCommandBar m_dlgCommandBar;
- DECLARE_MESSAGE_MAP()
- virtual BOOL OnInitDialog();
- afx_msg void OnBnClickedButtonScan();
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- LRESULT OnWM_SCAN_BLUETOOTH_DEVICE_FINISHED ( WPARAM wParam, LPARAM lParam );
- private:
- void SetCtrlValue(void);
- BOOL GetCtrlValue(void);
- void OnOK(void);
- private:
- void AddRemoteBthDevInfoToCombo(void);
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- afx_msg void OnBnClickedButtonRestore();
- };