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

📄 mygridvw.h

📁 mfc internals 源码 mfc internals 源码
💻 H
字号:
// mygridvw.h : interface of the CMyGridView class
//

// This is a part of the Objective Grid C++ Library.
// Copyright (C) 1995 ClassWorks, Stefan Hoenig.
// All rights reserved.
//
// This source code is only intended as a supplement to
// the Objective Grid Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding
// the Objective Grid product.
//


#ifndef _MYGRIDVW_H_
#define _MYGRIDVW_H_

#ifndef _GXRESRC_H_
#include "gxresrc.h"
#endif

#ifndef _GXVW_H_
#include "gxvw.h"
#endif

#ifndef _GXCTRL_H_
#include "gxctrl.h"
#endif

#ifndef _GXEXT_H_
#include "gxext.h"
#endif

class CMyGridView : public CGXGridView
{
protected: // create from serialization only
	CMyGridView();
	DECLARE_DYNCREATE(CMyGridView)

// Attributes
public:

// Operations
public:
	BOOL NeedStyle(const CGXStyle& styleNeeded, BOOL& bRet);
	void SetStyle(const CGXStyle& style, GXModifyType mt = gxOverride);
	void SetStyle(const CGXStyle* pStyle, GXModifyType mt, BOOL bExpandRange = FALSE);

// Overrides
	// virtual CGXStyle* CreateStyle();
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyGridView)
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyGridView)
	afx_msg void OnFileHeaderfooter();
	afx_msg void OnFilePageSetup();
	afx_msg void OnEditInsertcol();
	afx_msg void OnEditInsertrow();
	afx_msg void OnEditRemovecols();
	afx_msg void OnEditRemoverows();
	afx_msg void OnView100();
	afx_msg void OnViewProperties();
	afx_msg void OnViewReadonly();
	afx_msg void OnViewZoomin();
	afx_msg void OnViewZoomout();
	afx_msg void OnFormatAlignCenter();
	afx_msg void OnFormatAlignLeft();
	afx_msg void OnFormatAlignRight();
	afx_msg void OnFormatCells();
	afx_msg void OnFormatCovercells();
	afx_msg void OnFormatFreezecols();
	afx_msg void OnFormatFreezerows();
	afx_msg void OnFormatLookup();
	afx_msg void OnFormatRemovecover();
	afx_msg void OnFormatStyleBold();
	afx_msg void OnFormatStyleItalic();
	afx_msg void OnFormatStyleUnderline();
	afx_msg void OnFormatStyles();
	afx_msg void OnFormatUnfreezecols();
	afx_msg void OnFormatUnfreezerows();
	afx_msg void OnUpdateEditRemovecols(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEditRemoverows(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatAlignCenter(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatAlignLeft(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatAlignRight(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatCells(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatCovercells(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatFreezecols(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatFreezerows(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatLookup(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatRemovecover(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatStyleBold(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatStyleItalic(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatStyleUnderline(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatUnfreezecols(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFormatUnfreezerows(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewReadonly(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewZoomin(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewZoomout(CCmdUI* pCmdUI);
	afx_msg void OnEditClear();
	afx_msg void OnUpdateEditClear(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
	afx_msg void OnFormatResizecols();
	afx_msg void OnUpdateFormatResizecols(CCmdUI* pCmdUI);
	afx_msg void OnFormatResizerows();
	afx_msg void OnUpdateFormatResizerows(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // _MYGRIDVW_H_

⌨️ 快捷键说明

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