📄 devicepage.h
字号:
#if !defined(AFX_DEVICEPAGE_H__60E3D782_23DF_4469_9D1D_1A072C9DABB5__INCLUDED_)
#define AFX_DEVICEPAGE_H__60E3D782_23DF_4469_9D1D_1A072C9DABB5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DevicePage.h : header file
//
#include "SynKit.h"
#include "ChildView.h"
/////////////////////////////////////////////////////////////////////////////
// CDevicePage dialog
struct PropertyDescriptor;
class CDevicePage : public CPropertyPage
{
DECLARE_DYNCREATE(CDevicePage)
// Construction
public:
CDevicePage();
~CDevicePage();
// Dialog Data
//{{AFX_DATA(CDevicePage)
enum { IDD = IDD_DEVICE };
CListBox m_PropertyList;
SynDevice m_Device;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDevicePage)
public:
virtual BOOL OnSetActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDevicePage)
virtual BOOL OnInitDialog();
virtual BOOL OnDeviceChange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CChildView *m_pView;
void SetView(CChildView *pView)
{
m_pView = pView;
}
CString GetPropertyString(PropertyDescriptor *Descriptor);
void AddProperty(PropertyDescriptor *Descriptor);
void InitProperties();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEVICEPAGE_H__60E3D782_23DF_4469_9D1D_1A072C9DABB5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -