⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lgxgridformoredocview.h

📁 lgxgrid控件lgxgrid控件lgxgrid控件lgxgrid控件lgxgrid控件lgxgrid控件
💻 H
字号:
// LgxgridForMoreDocView.h : interface of the CLgxgridForMoreDocView class
//
/////////////////////////////////////////////////////////////////////////////
#include "_lgxgrid.h"
#include "LgxgridForMoreDocDoc.h"

#if !defined(AFX_LGXGRIDFORMOREDOCVIEW_H__82B27332_F3DE_4F10_83CA_2FB263D139F7__INCLUDED_)
#define AFX_LGXGRIDFORMOREDOCVIEW_H__82B27332_F3DE_4F10_83CA_2FB263D139F7__INCLUDED_
#define IDC_Lgxgrid1 1008

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CLgxgridForMoreDocView : public CView
{
protected: // create from serialization only
	CLgxgridForMoreDocView();
	DECLARE_DYNCREATE(CLgxgridForMoreDocView)
	// Attributes
public:
	CLgxgridForMoreDocDoc* GetDocument();
	C_lgxgrid Lgxgrid1;//控件变量
	C_lgxgrid Lgxs[6];
	int xi;
	int id;
	int NowId;
	int Lists,Rows,Left,Top;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLgxgridForMoreDocView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
    virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CLgxgridForMoreDocView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
// Generated message map functions
protected:
	//{{AFX_MSG(CLgxgridForMoreDocView)
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();
	afx_msg void OnCut();//剪切
	afx_msg void OnCopy();//复制
	afx_msg void OnPase();//粘贴
	afx_msg void OnPrintView();//打印预览
	afx_msg void OnPrintSetup();//打印设置
	afx_msg void OnPrint();//打印
	afx_msg void OnUnite();//合并
	afx_msg void OnSplit();//拆分
    afx_msg void OnIntoGrid();//插入表格
    afx_msg void OnInRow();
    afx_msg void OnDelRow();
    afx_msg void OnHW();
    afx_msg void OnDelData();
    afx_msg BOOL OnDataChangLgxs(UINT nID,long hid, long lid, LPCTSTR oldData, LPCTSTR newData);//数据变动事件处理函数
	afx_msg BOOL OnDragDropXYLgxs(UINT nID,float x, float y);
	afx_msg BOOL OnDragOverXYLgxs(UINT nID,float x, float y);
	afx_msg BOOL OnClickLgxs(UINT nID);
	afx_msg BOOL OnMouseDownLgxs(UINT nID,short Button, short Shift, float x, float y);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void GridAdd(int xi,int Lists,int Rows,int Left,int Top,int Height,int Width);
	afx_msg void OnLwChangLgxs(UINT nID,long Lid, long Lw);
	afx_msg void OnUnChangLgxs(UINT nID,long d1r, long d1l, long d2r, long d2l);
	afx_msg void OnSpChangLgxs(UINT nID,long d1r, long d1l);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()//声明消息
	DECLARE_EVENTSINK_MAP()//声明事件

};

#ifndef _DEBUG  // debug version in LgxgridForMoreDocView.cpp
inline CLgxgridForMoreDocDoc* CLgxgridForMoreDocView::GetDocument()
   { return (CLgxgridForMoreDocDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LGXGRIDFORMOREDOCVIEW_H__82B27332_F3DE_4F10_83CA_2FB263D139F7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -