📄 apipage.h
字号:
#if !defined(AFX_APIPAGE_H__A4A1B0AA_2D9A_4822_9921_DE0B365C1A02__INCLUDED_)
#define AFX_APIPAGE_H__A4A1B0AA_2D9A_4822_9921_DE0B365C1A02__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// APIPage.h : header file
//
#include "SynKit.h"
#include "ChildView.h"
/////////////////////////////////////////////////////////////////////////////
// CAPIPage dialog
struct PropertyDescriptor;
class CAPIPage : public CPropertyPage
{
DECLARE_DYNCREATE(CAPIPage)
// Construction
public:
CAPIPage();
~CAPIPage();
// Dialog Data
//{{AFX_DATA(CAPIPage)
enum { IDD = IDD_API };
CButton m_ResetButton;
CListBox m_PropertyList;
CComboBox m_DeviceCombo;
SynAPI m_API;
SynDevice m_Device;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CAPIPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAPIPage)
virtual BOOL OnInitDialog();
afx_msg void OnReset();
afx_msg void OnSelchangeDevice();
//}}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_APIPAGE_H__A4A1B0AA_2D9A_4822_9921_DE0B365C1A02__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -