SwitchCmbExampleDlg.h
资源名称:ComboBox.rar [点击查看]
上传用户:hbjdyb2005
上传日期:2021-01-26
资源大小:168k
文件大小:1k
源码类别:
组合框控件
开发平台:
Visual C++
- // SwitchCmbExampleDlg.h : header file
- //
- #if !defined(AFX_SWITCHCMBEXAMPLEDLG_H__D2EDE869_0409_11D3_AFD3_8FDE3E1DDA59__INCLUDED_)
- #define AFX_SWITCHCMBEXAMPLEDLG_H__D2EDE869_0409_11D3_AFD3_8FDE3E1DDA59__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- /////////////////////////////////////////////////////////////////////////////
- // CSwitchCmbExampleDlg dialog
- #include "SwitchComboBox.h"
- class CSwitchCmbExampleDlg : public CDialog
- {
- // Construction
- public:
- CSwitchCmbExampleDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CSwitchCmbExampleDlg)
- enum { IDD = IDD_SWITCHCMBEXAMPLE_DIALOG };
- CSwitchComboBox m_cmb;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSwitchCmbExampleDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CSwitchCmbExampleDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnSwitch();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- BOOL m_read;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SWITCHCMBEXAMPLEDLG_H__D2EDE869_0409_11D3_AFD3_8FDE3E1DDA59__INCLUDED_)