teepreviewpanel.h

来自「对Teechart进行封装」· C头文件 代码 · 共 87 行

H
87
字号
#if !defined(AFX_TEEPREVIEWPANEL_H__1C26882F_A40E_4625_8885_97C4B46A3495__INCLUDED_)
#define AFX_TEEPREVIEWPANEL_H__1C26882F_A40E_4625_8885_97C4B46A3495__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class CTeePanelsList;
class CGradient;
class CPen1;

/////////////////////////////////////////////////////////////////////////////
// CTeePreviewPanel wrapper class

class CLASS_EXPORT_CHART CTeePreviewPanel : public CWnd
{
protected:
	DECLARE_DYNCREATE(CTeePreviewPanel)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x1fdb3feb, 0xa12b, 0x4a8f, { 0x9b, 0xa7, 0xcc, 0x34, 0x29, 0x49, 0xd9, 0xaf } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	void SetChart(LPDISPATCH newValue);
	void SetChartLink(long nNewValue);
	void AboutBox();
	BOOL GetAllowResize();
	void SetAllowResize(BOOL bNewValue);
	BOOL GetAllowMove();
	void SetAllowMove(BOOL bNewValue);
	BOOL GetAsBitmap();
	void SetAsBitmap(BOOL bNewValue);
	BOOL GetDragImage();
	void SetDragImage(BOOL bNewValue);
	long GetOrientation();
	void SetOrientation(long nNewValue);
	unsigned long GetPaperColor();
	void SetPaperColor(unsigned long newValue);
	unsigned long GetShadowColor();
	void SetShadowColor(unsigned long newValue);
	long GetShadowSize();
	void SetShadowSize(long nNewValue);
	BOOL GetShowImage();
	void SetShowImage(BOOL bNewValue);
	CString GetTitle();
	void SetTitle(LPCTSTR lpszNewValue);
	void Repaint();
	CTeePanelsList GetPanels();
	void AddChart(LPDISPATCH Value);
	CGradient GetGradient();
	CPen1 GetMargins();
	void PrintPage();
	void AddChartLink(long Value);
};

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

#endif // !defined(AFX_TEEPREVIEWPANEL_H__1C26882F_A40E_4625_8885_97C4B46A3495__INCLUDED_)

⌨️ 快捷键说明

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