selecttables.h
来自「深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹」· C头文件 代码 · 共 65 行
H
65 行
#if !defined(AFX_SELECTTABLES_H__8C550F03_94D5_4CD6_903B_84F87214FB92__INCLUDED_)
#define AFX_SELECTTABLES_H__8C550F03_94D5_4CD6_903B_84F87214FB92__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SelectTables.h : header file
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CSelectTables dialog
class CSelectTables : public CDialog
{
// Construction
public:
CString GetTables();
CString m_strTitle;
CString m_strInfo;
CStringArray m_arTables;
CSelectTables(CWnd* pParent = NULL); // standard constructor
UINT m_style;
// Dialog Data
//{{AFX_DATA(CSelectTables)
enum { IDD = IDD_SELECT_TABLE };
CEdit m_editTables;
CListBox m_listOldTable;
CString m_strSelectTable;
//}}AFX_DATA
enum Style{ST_NULL = 0 , ST_MUIT = 0x1 , ST_READONLY = 0x2 };
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSelectTables)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSelectTables)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnSelchangeOldTableMuil();
afx_msg void OnDblclkOldTableMuil();
afx_msg void OnSelchangeOldTableSing();
afx_msg void OnDblclkOldTableSing();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void UpdateEditByListBox();
UINT m_ListBoxID;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SELECTTABLES_H__8C550F03_94D5_4CD6_903B_84F87214FB92__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?