📄 t_flexgriddlg.h
字号:
// T_FlexGridDlg.h : header file
//
//{{AFX_INCLUDES()
#include "msflexgrid.h"
#include "rdc.h"
//}}AFX_INCLUDES
#if !defined(AFX_T_FLEXGRIDDLG_H__C1488ED4_1CCB_406A_B0DA_CAEB6DCBE3E7__INCLUDED_)
#define AFX_T_FLEXGRIDDLG_H__C1488ED4_1CCB_406A_B0DA_CAEB6DCBE3E7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyEdit.h"
#include "MyList.h"
#include "WBButton.h"
/////////////////////////////////////////////////////////////////////////////
// CT_FlexGridDlg dialog
class CT_FlexGridDlg : public CDialog
{
// Construction
public:
CT_FlexGridDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CT_FlexGridDlg)
enum { IDD = IDD_T_FLEXGRID_DIALOG };
CWBButton m_ok;
CWBButton m_cancel;
CWBButton m_bcle;
CWBButton m_bfo;
CWBButton m_bfiv;
CWBButton m_bt;
CWBButton m_bs;
CWBButton m_bf;
CMSFlexGrid m_flex; //MSFlexGrid控件
CRdc m_rdc; //Remote Data Control控件
CFont m_font; //字体成员变量
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CT_FlexGridDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
int m_selectedRow,m_selectedCol;
int m_OldRow,m_OldCol;
CMyEdit* m_pEdit; //编辑框
CMyList* m_pList; //列表框
CRect m_CellRect; //网格矩形
// Generated message map functions
//{{AFX_MSG(CT_FlexGridDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClear();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg LONG OnCellDataChanged(UINT wParam,LONG lParam);
afx_msg LONG OnListDataChanged(UINT wParam,LONG lParam);
afx_msg void OnCellDBClicked1(UINT wParam,LONG lParam);
afx_msg void OnEnterCellMsflexgrid1();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnScrollMsflexgrid1();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_T_FLEXGRIDDLG_H__C1488ED4_1CCB_406A_B0DA_CAEB6DCBE3E7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -