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

📄 sjshqdlg.h

📁 一个通过PCI卡向LED屏发送股票实时行情的系统
💻 H
字号:
// sjshqDlg.h : header file
//
#include "GetDatabase.h"
#include "EffectChang.h"
#include "Writebuf.h"

#if !defined(AFX_SJSHQDLG_H__A2084F86_A77A_11D5_81B8_00E04C6895B1__INCLUDED_)
#define AFX_SJSHQDLG_H__A2084F86_A77A_11D5_81B8_00E04C6895B1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "sjshqDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CSjshqDlg dialog

class CSjshqDlg : public CDialog
{
// Construction
public:
	CSjshqDlg(CWnd* pParent = NULL);	// standard constructor

	CString newgu_str;
    CWnd	*m_pWnd;
	CDC		*m_pMemDC;
	CDC		*pDC;
    CGetDatabase m_GetDatabase;
    CEffectChang m_ShowBmpFile;

	CRect	m_Rect;
	CBrush	brush;

	CFont   *m_FntOld;
	CFont	*mhq_TitleFnt,*mhq_ABFnt,*mhq_GNameFnt,
			*mhq_TimeFnt,*mhq_ExpFnt;
	CFont	*mBellFnt;
	CFont   *mNewStockTitleFnt,*mNewStockFnt;
	//sjsTxTFont
	CFont		*mTxt1Fnt,*mTxt2Fnt,*mTxt3Fnt,*mTxtTitleFnt;
	WriteLed	writeled;
	void GetHangQingToBuf();
	void OnBrush_BlueColor();

	BOOL OnRunBtn();
	BOOL WriteOrNot;		//写敲钟用
	void ShowZst();
	void ShowHanzi();

	// Dialog Data
	//{{AFX_DATA(CSjshqDlg)
	enum { IDD = IDD_SJSHQ_DIALOG };
	CString	m_sZMBmpFilePath;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	void OnShowNewStock();
	void OnSaveNewStockToFile();

	// Generated message map functions
	//{{AFX_MSG(CSjshqDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnGuozhaiRadio();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	//}}AFX_MSG
	afx_msg void OnDlgButton(UINT nID);
	DECLARE_MESSAGE_MAP()
public:
	void OnShowTxtTitleandTime(CString sTitle,CString sTime);
	CWinThread*	m_ZMThread;
	CWinThread*	m_TempGGaoThread;
private:
	BOOL bAutoRun;
	void CallAutoRun();
	void OnDelete_AllKindsOfFonts();
	void OnCreate_AllKindsOfFonts();
	UINT DlgButtonID;
	void OnDisplayTxt_Button();
	void OnButton5();
	void OnButton4();
	void OnButton1();
};

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

#endif // !defined(AFX_SJSHQDLG_H__A2084F86_A77A_11D5_81B8_00E04C6895B1__INCLUDED_)

⌨️ 快捷键说明

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