📄 gridctrldemodlg.h
字号:
// GridctrlDemoDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mdctext.h"
//}}AFX_INCLUDES
#if !defined(AFX_GRIDCTRLDEMODLG_H__0C802053_5AE0_4CE7_9AF0_9A4AF7D6FD9D__INCLUDED_)
#define AFX_GRIDCTRLDEMODLG_H__0C802053_5AE0_4CE7_9AF0_9A4AF7D6FD9D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ComboGridCtrl.h"
#include "GridCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CGridctrlDemoDlg dialog
class CGridctrlDemoDlg : public CDialog
{
// Construction
public:
void WriteDetail(CString tit);
long ar[8][2];
int m_index3;
void show(int row);
int m_way;
long GetMin(long x,long y,long z);
long m_to3;
long m_to2;
long m_to1;
int m_index2;
int m_baoc;
void setrowcolor(int row,unsigned long c1,unsigned long c2);
long findmin(long x,long y, long z);
int m_index;
int m_palcount;
long *gg,*sl;
int find(int data);
CGridctrlDemoDlg(CWnd* pParent = NULL); // standard constructor
void computedata();
// Dialog Data
//{{AFX_DATA(CGridctrlDemoDlg)
enum { IDD = IDD_GRIDCTRLDEMO_DIALOG };
CEdit m_ed5;
CEdit m_ed4;
CSpinButtonCtrl m_sp5;
CSpinButtonCtrl m_sp4;
CButton m_begin;
CEdit m_ed3;
CEdit m_ed2;
CSpinButtonCtrl m_sp3;
CSpinButtonCtrl m_sp2;
CSpinButtonCtrl m_sp1;
int m_total;
int m_step;
int m_base;
BOOL m_chk;
int m_end;
int m_len;
//}}AFX_DATA
CComboGridCtrl m_GridCtrl;
CComboGridCtrl m_Gr,m_Grb,m_Gre;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGridctrlDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGridctrlDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnOutofmemorySpin1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButton1();
afx_msg void OnCheck1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnRadio2();
afx_msg void OnRadio3();
afx_msg void OnRadio4();
virtual void OnCancel();
afx_msg void OnWkh();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRIDCTRLDEMODLG_H__0C802053_5AE0_4CE7_9AF0_9A4AF7D6FD9D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -