videoshow.h
来自「用vb实现在线考试系统」· C头文件 代码 · 共 123 行
H
123 行
#if !defined(AFX_VIDEOSHOW_H__4E8416A0_C75C_4294_BB44_D9BE4AB25A99__INCLUDED_)
#define AFX_VIDEOSHOW_H__4E8416A0_C75C_4294_BB44_D9BE4AB25A99__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VideoShow.h : header file
//
#include "MyStatic.h"
/////////////////////////////////////////////////////////////////////////////
// CVideoShow dialog
class CVideoShow : public CDialog
{
// Construction
public:
CVideoShow(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CVideoShow)
enum { IDD = IDD_DIALOG1 };
CMyStatic m_Static19;
CMyStatic m_Static9;
CMyStatic m_Static8;
CMyStatic m_Static7;
CMyStatic m_Static6;
CMyStatic m_Static24;
CMyStatic m_Static23;
CMyStatic m_Static22;
CMyStatic m_Static21;
CMyStatic m_Static20;
CMyStatic m_Static18;
CMyStatic m_Static17;
CMyStatic m_Static16;
CMyStatic m_Static15;
CMyStatic m_Static14;
CMyStatic m_Static13;
CMyStatic m_Static12;
CMyStatic m_Static11;
CMyStatic m_Static10;
CMyStatic m_Static5;
CMyStatic m_Static4;
CMyStatic m_Static3;
CMyStatic m_Static2;
CMyStatic m_Static1;
//}}AFX_DATA
long InitCard();
void StartShow();
void SwitchShow();
void StopSwitchShow();
void splitRect(int iDevideNum);
void DrawRect(int iSelectNum);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVideoShow)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
long pDeviceTotal;
LPSHOWPARAMS oldShowParams;
int k;
int m_ShowNum;
int m_oldShowNum;
bool m_bPaint;
int m_SwitchNum;
int m_Num[MAX_CHANNELS];
int m_SwitchShow[MAX_CHANNELS][MAX_CHANNELS];
int m_Values[MAX_CHANNELS][6];
char* m_remoteIP[MAX_CHANNELS];
// Generated message map functions
//{{AFX_MSG(CVideoShow)
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnMyCommand(WPARAM wParam, LPARAM lParam);
afx_msg void OnSingleMode(WPARAM wParam, LPARAM lParam);
afx_msg void OnMultiMode(WPARAM wParam, LPARAM lParam);
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnStatic1();
afx_msg void OnStatic2();
afx_msg void OnStatic3();
afx_msg void OnStatic4();
afx_msg void OnStatic5();
afx_msg void OnStatic6();
afx_msg void OnStatic7();
afx_msg void OnStatic8();
afx_msg void OnStatic9();
afx_msg void OnStatic10();
afx_msg void OnStatic11();
afx_msg void OnStatic12();
afx_msg void OnStatic13();
afx_msg void OnStatic14();
afx_msg void OnStatic15();
afx_msg void OnStatic16();
afx_msg void OnStatic17();
afx_msg void OnStatic18();
afx_msg void OnStatic19();
afx_msg void OnStatic20();
afx_msg void OnStatic21();
afx_msg void OnStatic22();
afx_msg void OnStatic23();
afx_msg void OnStatic24();
afx_msg void OnStatic25();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIDEOSHOW_H__4E8416A0_C75C_4294_BB44_D9BE4AB25A99__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?