• 大小: 35KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-11
  • 语言: C#
  • 标签: c#  分屏  视频播放  

资源简介

一般播放视频时可以多屏播放,这个算法可以输入参数自动生成分屏的数目到控件,很好用哦!可以直接拿来用

资源截图

代码片段和文件信息

// Pipe.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “Pipe.h“
#include “PipeDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CPipeApp

BEGIN_MESSAGE_MAP(CPipeApp CWinApp)
//{{AFX_MSG_MAP(CPipeApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPipeApp construction

CPipeApp::CPipeApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CPipeApp object

CPipeApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CPipeApp initialization

BOOL CPipeApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CPipeDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     106593  2010-09-09 16:30  Pipe\Debug\Pipe.exe

     文件      36120  2010-09-09 16:25  Pipe\Pipe.aps

     文件       1152  2010-09-09 16:31  Pipe\Pipe.clw

     文件       2035  2008-12-23 09:51  Pipe\Pipe.cpp

     文件       4123  2008-12-23 09:51  Pipe\Pipe.dsp

     文件        533  2008-12-23 09:51  Pipe\Pipe.dsw

     文件       1302  2008-12-23 09:51  Pipe\Pipe.h

     文件      58368  2010-09-09 16:31  Pipe\Pipe.ncb

     文件      54784  2010-09-09 16:31  Pipe\Pipe.opt

     文件        970  2010-09-09 16:30  Pipe\Pipe.plg

     文件       5439  2010-09-09 16:25  Pipe\Pipe.rc

     文件       6035  2010-09-09 16:30  Pipe\PipeDlg.cpp

     文件       1351  2010-09-09 16:24  Pipe\PipeDlg.h

     文件       3543  2008-12-23 09:51  Pipe\ReadMe.txt

     文件       1078  2008-12-23 09:51  Pipe\res\Pipe.ico

     文件        396  2008-12-23 09:51  Pipe\res\Pipe.rc2

     文件       1050  2010-09-09 15:29  Pipe\resource.h

     文件        206  2008-12-23 09:51  Pipe\StdAfx.cpp

     文件       1054  2008-12-23 09:51  Pipe\StdAfx.h

     目录          0  2010-09-09 16:31  Pipe\Debug

     目录          0  2008-12-23 09:51  Pipe\res

     目录          0  2010-09-09 16:31  Pipe

----------- ---------  ---------- -----  ----

               286132                    22


评论

共有 条评论