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

📄 realtimestockdlg.h

📁 use activex parser xml
💻 H
字号:
// RealTimeStockDlg.h : header file
//
/**********************************************************************************
//
// Copyright (C) Dhandapani Ammasai (dammasai@yahoo.com)
//
// This code can be freely used or modified for non commercial use provided that
// this copyright notice and license appear on all copies of the software.
//
**********************************************************************************/

#if !defined(AFX_REALTIMESTOCKDLG_H__A3FBF34A_189D_11D5_B9C2_0008C79A1CDA__INCLUDED_)
#define AFX_REALTIMESTOCKDLG_H__A3FBF34A_189D_11D5_B9C2_0008C79A1CDA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#import "msxml.dll"

class CRealTimeStockDlgAutoProxy;

/////////////////////////////////////////////////////////////////////////////
// CRealTimeStockDlg dialog

class CRealTimeStockDlg : public CDialog
{
	DECLARE_DYNAMIC(CRealTimeStockDlg);
	friend class CRealTimeStockDlgAutoProxy;
private:
	BOOL GetStockPriceFromWebServer();
// Construction
public:
	CRealTimeStockDlg(CWnd* pParent = NULL);	// standard constructor
	virtual ~CRealTimeStockDlg();

// Dialog Data
	//{{AFX_DATA(CRealTimeStockDlg)
	enum { IDD = IDD_REALTIMESTOCK_DIALOG };
	CString	m_szSymbol;
	double	m_dblPrice;
	long	m_lHttpStatus;
	CString	m_szHttpStatusText;
	CString	m_szErrorText;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRealTimeStockDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CRealTimeStockDlgAutoProxy* m_pAutoProxy;
	HICON m_hIcon;

	BOOL CanExit();

	// Generated message map functions
	//{{AFX_MSG(CRealTimeStockDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClose();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnGetPrice();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_REALTIMESTOCKDLG_H__A3FBF34A_189D_11D5_B9C2_0008C79A1CDA__INCLUDED_)

⌨️ 快捷键说明

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