|
/* -------------------------------------------------------------------------
//MyCell Library - MyCell version 1.0
//
// This file is a part of the MyCell Library.
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.txt at this distribution. By using
// this software in any fashion, you are agreeing to be bound by the terms
// of this license. You must not remove this notice, or any other, from
// this software.
//
// Creator: yanxueming
// Email: xueming.yan@gmail.com
//Yanxm 2007��12��21�� 14:03:36
// -----------------------------------------------------------------------*/
#pragma once
#include <vector>
using namespace std;
namespace mycell{
//�ж��ı��Ƿ���л��з���
inline BOOL Text_HasReturnChar(LPCTSTR lpText,int nCount)
{
for(int i=0;i<nCount-1;++i){
if(0x0a==lpText[i])
return TRUE;
}
return FALSE;
}
extern int split_text(HDC hDC,LPCTSTR lpText,int nCount,vector<pair<CString,SIZE> >& vl);
}//namespace mycell
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
My name is Yanxueming,i live in Chengdu China.Graduated from UESTC in 1999.