Exemplo n.º 1
0
void		CIni::SerGet(	bool bGet,CRect	* ar,	   int nCount, LPCTSTR strEntry,	LPCTSTR strSection/*=NULL*/,	CRect Default/* = CRect(0,0,0,0)*/)
{
   CString strBuffer;
   for( int i=0 ; i<nCount ; i++)
   {
      strBuffer.Format(_T("_%i"),i);
      strBuffer = strEntry + strBuffer;
      SerGet(bGet,ar[i],strBuffer,strSection,Default);
   }
}
Exemplo n.º 2
0
void CIni::SerGet( BOOL bGet,CPoint * ar, int nCount, CString strEntry, LPCSTR strSection/*=NULL*/, CPoint Default/* = CPoint(0,0)*/)
{
	CString strBuffer;
	for ( int i=0 ; i<nCount ; i++)
	{
		strBuffer.Format("_%i",i);
		strBuffer = strEntry + strBuffer;
		SerGet(bGet,ar[i],strBuffer,strSection,Default);
	}
}