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

📄 stockcontrolppg.cpp

📁 股票控件activx源代码,实现了K线图等技术指标
💻 CPP
字号:
// StockControlPpg.cpp : Implementation of the CStockControlPropPage property page class.

#include "stdafx.h"
#include "StockControl.h"
#include "StockControlPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CStockControlPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CStockControlPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CStockControlPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CStockControlPropPage, "STOCKCONTROL.StockControlPropPage.1",
	0xd0f9a544, 0x5001, 0x4bc7, 0xb1, 0xc8, 0x8f, 0x7b, 0x37, 0x77, 0xb1, 0x6f)


/////////////////////////////////////////////////////////////////////////////
// CStockControlPropPage::CStockControlPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CStockControlPropPage

BOOL CStockControlPropPage::CStockControlPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_STOCKCONTROL_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CStockControlPropPage::CStockControlPropPage - Constructor

CStockControlPropPage::CStockControlPropPage() :
	COlePropertyPage(IDD, IDS_STOCKCONTROL_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CStockControlPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CStockControlPropPage::DoDataExchange - Moves data between page and properties

void CStockControlPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CStockControlPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CStockControlPropPage message handlers

⌨️ 快捷键说明

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