📄 dlgviewcp.h
字号:
#if !defined(AFX_DLGVIEWCP_H__E0A93C8A_9725_4680_A740_4960C9B09254__INCLUDED_)
#define AFX_DLGVIEWCP_H__E0A93C8A_9725_4680_A740_4960C9B09254__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgViewCP.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgViewCP dialog
class CDlgViewCP : public CDialog
{
// Construction
public:
CDlgViewCP(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgViewCP)
enum { IDD = IDD_DLG_VIEWCP };
CListCtrl m_list;
CString m_detail;
CString m_kind;
CString m_name;
CString m_no;
float m_price;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgViewCP)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgViewCP)
virtual BOOL OnInitDialog();
afx_msg void OnClickListCp(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnVcadd();
afx_msg void OnBtnVcdel();
afx_msg void OnBtnVcqry();
afx_msg void OnBtnVcupd();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void RefreshData(LPCTSTR qry);
void Setup(_ConnectionPtr cnnt)
{
m_DBCnt = cnnt;
}
protected:
_ConnectionPtr m_DBCnt;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGVIEWCP_H__E0A93C8A_9725_4680_A740_4960C9B09254__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -