📄 exceleditdlg.h
字号:
#if !defined(AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_)
#define AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExcelEditDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ExcelEditDlg dialog
class ExcelEditDlg : public CDialog
{
// Construction
public:
ExcelEditDlg(CListCtrl* Grid,CWnd* pParent = NULL); // standard constructor
void Enable(bool flag = true);
void Match(CString &str, COleVariant vResult);
// Dialog Data
//{{AFX_DATA(ExcelEditDlg)
enum { IDD = IDD_EDIT_INFOR_DIALOG };
CButton m_Undo_Button;
CButton m_Update_Button;
CButton m_Save_Button;
CButton m_Delete_Button;
CButton m_Add_Button;
CEdit m_Type;
CEdit m_Pack;
CEdit m_Memo;
CEdit m_LotNo;
CEdit m_Count;
CEdit m_Brand;
COLORREF m_Color;
//}}AFX_DATA
CListCtrl* m_pGrid;
CString smType;
CString smBrand;
CString smLotNo;
CString smCount;
CString smPack;
CString smMemo;
/* to flag update or Add */
int action; // 1 -> Insert, 2 -> Update, 3 -> Delete
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(ExcelEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(ExcelEditDlg)
afx_msg void OnExitButton();
afx_msg void OnAddButton();
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnUpdateButton();
afx_msg void OnUndoButton();
afx_msg void OnSaveButton();
afx_msg void OnDeleteButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -