effectchang.h
来自「一个通过PCI卡向LED屏发送股票实时行情的系统」· C头文件 代码 · 共 100 行
H
100 行
#if !defined(AFX_EFFECTCHANG_H__17E31B81_AFEC_11D5_A9A8_0080C87F2546__INCLUDED_)
#define AFX_EFFECTCHANG_H__17E31B81_AFEC_11D5_A9A8_0080C87F2546__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EffectChang.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEffectChang window
class CEffectChang : public CWnd
{
// Construction
public:
CEffectChang();
// Attributes
public:
int m_nStep;
BOOL Flag;
int ReturnFlag;
void Delay(DWORD dwDelayTime);
////////////////////////////////////////////
CFile FileBmp;
CBitmap* pBitmap;
LPVOID bmpdata;
void make_palette();
void DIBtoDDB(HDC hdc);
HPALETTE hpal;
HBITMAP bhm_ddb;
int nPalate;
// Operations
public:
BOOL Open_DrawBmp(CWnd* pWnd,CDC* pDC,int dx,int dy,int dw,int dh,
CString fName,int DisplayMode,int DrawMode,int sx,int sy,int sw,int sh);
BOOL Open_DrawTxt(CWnd* pWnd,CDC *pDC,int dx, int dy, int dw, int dh,
CString fName,int DisplayMode,CFont* mTxtFnt);
BOOL Open_DrawTxt0812(CWnd* pWnd,CDC *pDC,int dx, int dy, int dw, int dh,CString fName,
CFont* mTxtFnt,CFont* mTitleFnt);
BOOL Open_DrawTxt3(CWnd* pWnd,CDC *pDC,int dx, int dy, int dw, int dh,
CString fName,int DisplayMode,CFont* mTxtFnt);
void DynamicShow_Interface(CWnd* pWnd,int dynamicMode,CDC* pDC,CDC* pMenDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);
void OnePage_Display(CDC* pDC,CDC* pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);
void OnePage_Displaystr(CDC* pDC,CDC* pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);
BOOL MoveEffect2(CWnd* pWnd,CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect3(CWnd* pWnd,CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect4(CWnd* pWnd,CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect5(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect6(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect7(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL MoveEffect8(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL ThreadEffect1(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);
BOOL ThreadEffect2(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL StretchEffect1(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL StretchEffect2(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL StretchEffect3(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//
BOOL SpreadEffect1(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//中间展开
BOOL SpreadEffect2(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//左展开
BOOL SpreadEffect3(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//右展开
BOOL SpreadEffect4(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//上展开
BOOL SpreadEffect5(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//下展开 17
BOOL ShowEffect1(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//中间展示
BOOL ShowEffect2(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//左展示
BOOL ShowEffect3(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//右展示
BOOL ShowEffect4(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//上展示
BOOL ShowEffect5(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//下展示 22
BOOL WindowsEffect1(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//上展示
BOOL WindowsEffect2(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh);//下展示 22
BOOL TurnEffect(/*CWnd* pWnd,*/CDC *pDC,CDC *pMDC,int dx, int dy, int dw, int dh,int sx,int sy,int sw,int sh); //弹簧
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEffectChang)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEffectChang();
// Generated message map functions
protected:
//{{AFX_MSG(CEffectChang)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EFFECTCHANG_H__17E31B81_AFEC_11D5_A9A8_0080C87F2546__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?