91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

工程是在VS2010中的基于對話框的MFC,結合OPENCV2.3,因此請大家先設置好OPENCV。大家也可去我的新浪博客查看,http://blog.sina.com.cn/u/2169813830。感謝http://blog.csdn.net/ixzf2009/article/details/6564456 一部分代碼參考此網頁。

資源截圖

代碼片段和文件信息

//?ButtonPic.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“DispScroll.h“
#include?“ButtonPic.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CButtonPic

CButtonPic::CButtonPic()
{

}

CButtonPic::~CButtonPic()
{
}


BEGIN_MESSAGE_MAP(CButtonPic?CButton)
//{{AFX_MSG_MAP(CButtonPic)
ON_WM_HSCROLL()
ON_WM_VSCROLL()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CButtonPic?message?handlers

void?CButtonPic::DrawItem(LPDRAWITEMSTRUCT?lpDrawItemStruct)?
{
//?TODO:?Add?your?code?to?draw?the?specified?item
DarwPic();
}

void?CButtonPic::OnHScroll(UINT?nSBCode?UINT?nPos?CScrollBar*?pScrollBar)?
{
//?TODO:?Add?your?message?handler?code?here?and/or?call?default
switch(nSBCode)
{
????case?SB_LEFT:

????????????m_nHorzPos?=?0;
this->SetScrollPos(SB_HORZm_nHorzPos);
DarwPic();

break;
case?SB_LINELEFT:
case?SB_PAGELEFT:

????????????m_nHorzPos?-=?m_nOneStep;

if(m_nHorzPos<0)
{
????m_nHorzPos?=?0;
}
????????????this->SetScrollPos(SB_HORZm_nHorzPos);
DarwPic();

break;
case?SB_LINERIGHT:
case?SB_PAGERIGHT:

m_nHorzPos?+=?m_nOneStep;

if(m_nHorzPos>m_nHorzMaxSize)
{
????m_nHorzPos?=?m_nHorzMaxSize;
}
????????????this->SetScrollPos(SB_HORZm_nHorzPos);
DarwPic();

break;
????????case?SB_RIGHT:

????????????m_nHorzPos?=?m_nHorzMaxSize;
this->SetScrollPos(SB_HORZm_nHorzPos);
DarwPic();

break;
case?SB_THUMBPOSITION:
case?SB_THUMBTRACK:

????????????m_nHorzPos?=?nPos;
this->SetScrollPos(SB_HORZm_nHorzPos);
DarwPic();

break;
default:
break;
}

CButton::OnHScroll(nSBCode?nPos?pScrollBar);
}

void?CButtonPic::OnVScroll(UINT?nSBCode?UINT?nPos?CScrollBar*?pScrollBar)?
{
//?TODO:?Add?your?message?handler?code?here?and/or?call?default
switch(nSBCode)
{
????case?SB_LEFT:

????????????m_nVertPos?=?0;
this->SetScrollPos(SB_VERTm_nVertPos);
DarwPic();

break;
case?SB_LINELEFT:
case?SB_PAGELEFT:

????????????m_nVertPos?-=?m_nOneStep;

if(m_nVertPos<0)
{
????m_nVertPos?=?0;
}
????????????this->SetScrollPos(SB_VERTm_nVertPos);
DarwPic();

break;
case?SB_LINERIGHT:
case?SB_PAGERIGHT:

m_nVertPos?+=?m_nOneStep;

if(m_nVertPos>m_nVertMaxSize)
{
????m_nVertPos?=?m_nVertMaxSize;
}
????????????this->SetScrollPos(SB_VERTm_nVertPos);
DarwPic();

break;
????????case?SB_RIGHT:

????????????m_nVertPos?=?m_nVertMaxSize;
this->SetScrollPos(SB_VERTm_nVertPos);
DarwPic();

break;
case?SB_THUMBPOSITION:
case?SB_THUMBTRACK:

????????????m_nVertPos?=?nPos;
this->SetScrollPos(SB_VERTm_nVertPos);
DarwPic();

break;
default:
break;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????4201??2012-12-18?13:59??DispScroll\DispScroll\ButtonPic.cpp

?????文件???????1526??2012-12-18?13:59??DispScroll\DispScroll\ButtonPic.h

?????文件??????26352??2012-12-18?20:06??DispScroll\DispScroll\Debug\ButtonPic.obj

?????文件???????4098??2012-12-18?20:06??DispScroll\DispScroll\Debug\cl.command.1.tlog

?????文件??????61898??2012-12-18?20:06??DispScroll\DispScroll\Debug\CL.read.1.tlog

?????文件???????2024??2012-12-18?20:06??DispScroll\DispScroll\Debug\CL.write.1.tlog

?????文件????6194688??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.exe

?????文件????????667??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.exe.embed.manifest

?????文件????????732??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.exe.embed.manifest.res

?????文件????????381??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.exe.intermediate.manifest

?????文件????1086936??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.ilk

?????文件?????????72??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.lastbuildstate

?????文件???????6418??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.log

?????文件??????98465??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.obj

?????文件???20381696??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.pch

?????文件????4557824??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.pdb

?????文件????5088168??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll.res

?????文件?????114121??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScrollDlg.obj

?????文件????????216??2012-12-18?20:06??DispScroll\DispScroll\Debug\DispScroll_manifest.rc

?????文件??????????2??2012-12-18?20:06??DispScroll\DispScroll\Debug\link-cvtres.read.1.tlog

?????文件??????????2??2012-12-18?20:06??DispScroll\DispScroll\Debug\link-cvtres.write.1.tlog

?????文件???????3028??2012-12-18?20:06??DispScroll\DispScroll\Debug\link.command.1.tlog

?????文件???????6508??2012-12-18?20:06??DispScroll\DispScroll\Debug\link.read.1.tlog

?????文件???????1412??2012-12-18?20:06??DispScroll\DispScroll\Debug\link.write.1.tlog

?????文件????????758??2012-12-18?20:06??DispScroll\DispScroll\Debug\mt.command.1.tlog

?????文件????????520??2012-12-18?20:06??DispScroll\DispScroll\Debug\mt.read.1.tlog

?????文件????????514??2012-12-18?20:06??DispScroll\DispScroll\Debug\mt.write.1.tlog

?????文件???????1224??2012-12-18?20:06??DispScroll\DispScroll\Debug\rc.command.1.tlog

?????文件???????3538??2012-12-18?20:06??DispScroll\DispScroll\Debug\rc.read.1.tlog

?????文件????????582??2012-12-18?20:06??DispScroll\DispScroll\Debug\rc.write.1.tlog

............此處省略42個文件信息

評論

共有 條評論