Click here to Skip to main content
15,894,180 members
Articles / Desktop Programming / MFC

Tangram Programming Tool Kit

Rate me:
Please Sign up or sign in to vote.
1.80/5 (2 votes)
25 Dec 20013 min read 98.8K   1.6K   17  
Tangram is a Microsoft Visual Basic for Application (VBS) integration development tool kit
//*************************************************************
// ��Ȩ������
// ---------------
// ���ļ���TangramDeveloper����ϵͳ��һ����
// ��Ȩ���� (C) 2000-2001 TangramDeveloper Team��
//
// δ����ɣ���ϵͳ��Դ���벻�����κη�ʽ�޸ġ����û򷢲�
//*************************************************************
#if !defined(AFX_DESIGNVIEW_H__4F5EC56E_CB2B_4A09_BF83_2F3305991EAD__INCLUDED_)
#define AFX_DESIGNVIEW_H__4F5EC56E_CB2B_4A09_BF83_2F3305991EAD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DesignView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDesignView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "TangramCntrItem.h"
class CTangramObject;
class CTangramCntrItem;
class CTangramChildFrame;
class CTangramDoc;
class CDesignView : public CFormView
{
protected:
	CDesignView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDesignView)

// Form Data
public:
	//{{AFX_DATA(CDesignView)
	//enum { IDD = _UNKNOWN_RESOURCE_ID_ };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CTangramCntrItem* m_pOleItem;
	IDispatch* m_pDisp;
	CTangramDoc* m_pDoc;
	CTangramChildFrame* m_pFrame;
	int m_nRow, m_nCol;
	CTangramObject* m_pTangramObject;

// Operations
public:
	virtual void AddPage(long nPageIndex, CString strPageTitle, long nImageIndex);
	virtual void DeleteTabPage(long nTabIndex);
	virtual void DeleteContainer(int nType);
	virtual void CreateTabWnd(CString strClsID, CString strCaption, CString strObjName, BOOL m_bDocking);
	virtual void CreateSplitter(long nRow, long nCol, CString strTitle, long bDock);
	virtual void CreateActiveItem(CString strDocID, CString strObjName,CString strCaption=_T(""),BOOL bDocking=FALSE);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDesignView)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CDesignView)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_DESIGNVIEW_H__4F5EC56E_CB2B_4A09_BF83_2F3305991EAD__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions