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

  • 大小: 88KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-06-10
  • 語言: C/C++
  • 標(biāo)簽: 語音識(shí)別??C++??

資源簡(jiǎn)介

語音識(shí)別技術(shù)C++源代碼,語音識(shí)別技術(shù)在未來會(huì)流行。適合初學(xué)者研究。呵呵!

資源截圖

代碼片段和文件信息

//?Label.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“robot.h“
#include?“Label.h“
//#include?“shellapi.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CLabel


CLabel::CLabel()
{
m_crText?=?GetSysColor(COLOR_WINDOWTEXT);
m_hBrush?=?::CreateSolidBrush(GetSysColor(COLOR_3DFACE));

::Getobject((HFONT)GetStockobject(DEFAULT_GUI_FONT)sizeof(m_lf)&m_lf);

m_font.CreateFontIndirect(&m_lf);
m_bTimer?=?FALSE;
m_bState?=?FALSE;
m_blink?=?TRUE;
m_hCursor?=?NULL;
m_Type?=?None;

m_hwndBrush?=?::CreateSolidBrush(GetSysColor(COLOR_3DFACE));
}


CLabel::~CLabel()
{
m_font.Deleteobject();
::Deleteobject(m_hBrush);
}

CLabel&?CLabel::SetText(const?CString&?strText)
{
SetWindowText(strText);
return?*this;
}

CLabel&?CLabel::SetTextColor(COLORREF?crText)
{
m_crText?=?crText;
RedrawWindow();
return?*this;
}

CLabel&?CLabel::SetFontBold(BOOL?bBold)
{
m_lf.lfWeight?=?bBold???FW_BOLD?:?FW_NORMAL;
ReconstructFont();
RedrawWindow();
return?*this;
}

CLabel&?CLabel::SetFontUnderline(BOOL?bSet)
{
m_lf.lfUnderline?=?bSet;
ReconstructFont();
RedrawWindow();
return?*this;
}

CLabel&?CLabel::SetFontItalic(BOOL?bSet)
{
m_lf.lfItalic?=?bSet;
ReconstructFont();
RedrawWindow();
return?*this;
}

CLabel&?CLabel::SetSunken(BOOL?bSet)
{
if?(!bSet)
ModifystyleEx(WS_EX_STATICEDGE0SWP_DRAWframe);
else
ModifystyleEx(0WS_EX_STATICEDGESWP_DRAWframe);

return?*this;
}

CLabel&?CLabel::SetBorder(BOOL?bSet)
{
if?(!bSet)
Modifystyle(WS_BORDER0SWP_DRAWframe);
else
Modifystyle(0WS_BORDERSWP_DRAWframe);

return?*this;
}

CLabel&?CLabel::SetFontSize(int?nSize)
{
nSize*=-1;
m_lf.lfHeight?=?nSize;
ReconstructFont();
RedrawWindow();
return?*this;
}


CLabel&?CLabel::SetBkColor(COLORREF?crBkgnd)
{
if?(m_hBrush)
::Deleteobject(m_hBrush);

m_hBrush?=?::CreateSolidBrush(crBkgnd);
return?*this;
}

CLabel&?CLabel::SetFontName(const?CString&?strFont)
{
strcpy(m_lf.lfFaceNamestrFont);
ReconstructFont();
RedrawWindow();
return?*this;
}


BEGIN_MESSAGE_MAP(CLabel?CStatic)
//{{AFX_MSG_MAP(CLabel)
ON_WM_CTLCOLOR_REFLECT()
ON_WM_TIMER()
ON_WM_LBUTTONDOWN()
ON_WM_SETCURSOR()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CLabel?message?handlers

HBRUSH?CLabel::CtlColor(CDC*?pDC?UINT?nCtlColor)?
{
//?TODO:?Change?any?attributes?of?the?DC?here

//?TODO:?Return?a?non-NULL?brush?if?the?parent‘s?handler?should?not?be?called

if?(CTLCOLOR_STATIC?==?nCtlColor)
{
pDC->Selectobject(&m_font);
pDC->SetTextColor(m_crText);
pDC->SetBkMode(TRANSPARENT);
}


if?(m_Type?==?Background)
{
if?(!m_bState)
return?m_hwndBrush;
}

return?m_hBrush;
}

void?CLa

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????目錄??????????0??2005-03-03?19:59??語音識(shí)別系統(tǒng)

????.......???????595??2002-01-06?02:32??語音識(shí)別系統(tǒng)\DUTTY.INI

?????目錄??????????0??2005-03-03?19:59??語音識(shí)別系統(tǒng)\ROBOT

????.......??????4642??2002-01-07?13:22??語音識(shí)別系統(tǒng)\ROBOT\Label.cpp

????.......??????2083??2001-12-25?21:55??語音識(shí)別系統(tǒng)\ROBOT\Label.h

????.......??????3314??2001-12-27?14:58??語音識(shí)別系統(tǒng)\ROBOT\MainFrm.cpp

????.......??????1588??2001-11-22?15:27??語音識(shí)別系統(tǒng)\ROBOT\MainFrm.h

????.......??????3103??2002-03-16?20:41??語音識(shí)別系統(tǒng)\ROBOT\RESOURCE.H

?????文件??????44972??2005-03-05?22:45??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.APS

?????文件???????4050??2005-03-05?22:47??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.CLW

????.......??????6263??2001-12-27?15:04??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.DSP

????.......???????535??2001-11-07?20:16??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.DSW

?????文件?????279552??2005-03-05?22:47??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.NCB

?????文件???????2426??2005-03-05?22:46??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.PLG

????.......?????16292??2002-03-24?10:19??語音識(shí)別系統(tǒng)\ROBOT\ROBOT.RC

????.......??????4287??2001-11-07?20:16??語音識(shí)別系統(tǒng)\ROBOT\ReadMe.txt

????.......??????4166??2001-12-25?23:14??語音識(shí)別系統(tǒng)\ROBOT\Robot.cpp

????.......??????1345??2001-12-26?00:11??語音識(shí)別系統(tǒng)\ROBOT\Robot.h

????.......??????1394??2001-11-20?22:03??語音識(shí)別系統(tǒng)\ROBOT\SetupDlg.cpp

????.......??????1278??2001-11-21?05:23??語音識(shí)別系統(tǒng)\ROBOT\SetupDlg.h

????.......???????207??2001-11-07?20:16??語音識(shí)別系統(tǒng)\ROBOT\StdAfx.cpp

????.......??????1054??2001-11-07?20:16??語音識(shí)別系統(tǒng)\ROBOT\StdAfx.h

????.......?????10050??2003-08-13?22:08??語音識(shí)別系統(tǒng)\ROBOT\robotDoc.cpp

????.......??????2366??2001-11-25?08:56??語音識(shí)別系統(tǒng)\ROBOT\robotDoc.h

????.......?????21718??2002-04-21?13:12??語音識(shí)別系統(tǒng)\ROBOT\robotView.cpp

????.......??????2685??2002-03-24?10:18??語音識(shí)別系統(tǒng)\ROBOT\robotView.h

????.......???????410??2001-11-21?16:39??語音識(shí)別系統(tǒng)\ROBOT\命令.txt

?????目錄??????????0??2005-03-03?19:59??語音識(shí)別系統(tǒng)\ROBOT\RES

????.......???????302??2001-11-21?03:11??語音識(shí)別系統(tǒng)\ROBOT\RES\BITMAP3.BMP

????.......???????302??2001-11-21?03:11??語音識(shí)別系統(tǒng)\ROBOT\RES\BITMAP4.BMP

............此處省略30個(gè)文件信息

評(píng)論

共有 條評(píng)論