本文整理汇总了C++中CBCGPGridRow::ReplaceItem方法的典型用法代码示例。如果您正苦于以下问题:C++ CBCGPGridRow::ReplaceItem方法的具体用法?C++ CBCGPGridRow::ReplaceItem怎么用?C++ CBCGPGridRow::ReplaceItem使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CBCGPGridRow
的用法示例。
在下文中一共展示了CBCGPGridRow::ReplaceItem方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: OnInitDialog
BOOL CDlgStudentsSetting::OnInitDialog(void)
{
CBCGPDialog::OnInitDialog();
// TODO: 在此添加额外的初始化
CRect rectGrid;
m_ctrlGridLocation.GetWindowRect (&rectGrid);
ScreenToClient (&rectGrid);
m_wndListGrid.CreateGrid(rectGrid,this);
m_wndListGrid.InsertColumn (0, _T(" 姓名 "), 100); //此处的nWidth为比例,并不是真实尺寸,会随着控件宽度的变化而变化
m_wndListGrid.InsertColumn (1, _T(" 年龄 "), 100); //设定的列表宽度为控件宽度width*(100/(100+100+100+150+100+150+100))
m_wndListGrid.InsertColumn (2, _T(" 籍贯 "), 100);
m_wndListGrid.InsertColumn (3, _T(" 出生地 "), 150);
m_wndListGrid.InsertColumn (4, _T(" 政治面貌 "), 100);
m_wndListGrid.InsertColumn (5, _T(" 婚姻状况 "), 150);
m_wndListGrid.InsertColumn (6, _T(" 联系电话 "), 100);
m_ctrlEditGridLocation.GetWindowRect (&rectGrid);
ScreenToClient (&rectGrid);
m_wndEditGrid.CreateGrid(rectGrid,this);
m_wndEditGrid.InsertColumn (0, _T(" 姓名 "), 100);
m_wndEditGrid.InsertColumn (1, _T(" 年龄 "), 100);
m_wndEditGrid.InsertColumn (2, _T(" 籍贯 "), 100);
m_wndEditGrid.InsertColumn (3, _T(" 出生地 "), 150);
m_wndEditGrid.InsertColumn (4, _T(" 政治面貌 "), 100);
m_wndEditGrid.InsertColumn (4, _T(" 婚姻状况 "), 150);
m_wndEditGrid.InsertColumn (4, _T(" 联系电话 "), 100);
CBCGPGridRow* pRow = m_wndEditGrid.CreateRow (m_wndEditGrid.GetColumnCount ());
CBCGPGridItem* pItem = new CBCGPGridItem (_T("中共党员"));
pItem->AddOption (_T("中共党员"), TRUE);
pItem->AddOption (_T("群众"), TRUE);
// pItem->AllowEdit(FALSE);
CImageList Cil1,Cil2; //定义大小图标像列表
Cil1.Create(32, 32, ILC_COLOR4, 0, 4); //建立32位图像控制
Cil1.Add(AfxGetApp()->LoadIcon(IDI_ICON1));//增加选中状态图像
// Cil2.Create(16,16,TRUE,0,0); //建立16位图像控制
// Cil2.Add(AfxGetApp()->LoadIcon(IDI_ICON1));//增加选中状态图像
m_wndListGrid.SetImageList(&Cil1);
pRow->GetItem(0)->SetImage(0);
pRow->ReplaceItem (4, pItem);
pRow->ReplaceItem (5, new CBCGPGridCheckItem (FALSE));
m_wndEditGrid.AddRow(pRow);
m_wndEditGrid.AdjustLayout();
Load(members);
return TRUE;
}
示例2: OnInitDialog
BOOL CDlgStudentsSetting::OnInitDialog(void)
{
CBCGPDialog::OnInitDialog();
// TODO: 在此添加额外的初始化
CRect rectGrid;
m_ctrlGridLocation.GetWindowRect (&rectGrid);
ScreenToClient (&rectGrid);
m_wndListGrid.CreateGrid(rectGrid,this);
m_wndListGrid.InsertColumn (0, _T(" 姓名 "), 100); //此处的nWidth为比例,并不是真实尺寸,会随着控件宽度的变化而变化
m_wndListGrid.InsertColumn (1, _T(" 年龄 "), 100); //设定的列表宽度为控件宽度width*(100/(100+100+100+150+100+150+100))
m_wndListGrid.InsertColumn (2, _T(" 籍贯 "), 100);
m_wndListGrid.InsertColumn (3, _T(" 出生地 "), 150);
m_wndListGrid.InsertColumn (4, _T(" 政治面貌 "), 100);
m_wndListGrid.InsertColumn (5, _T(" 婚姻状况 "), 150);
m_wndListGrid.InsertColumn (6, _T(" 联系电话 "), 100);
m_ctrlEditGridLocation.GetWindowRect (&rectGrid);
ScreenToClient (&rectGrid);
m_wndEditGrid.CreateGrid(rectGrid,this);
m_wndEditGrid.InsertColumn (0, _T(" 姓名 "), 100);
m_wndEditGrid.InsertColumn (1, _T(" 年龄 "), 100);
m_wndEditGrid.InsertColumn (2, _T(" 籍贯 "), 100);
m_wndEditGrid.InsertColumn (3, _T(" 出生地 "), 150);
m_wndEditGrid.InsertColumn (4, _T(" 政治面貌 "), 100);
m_wndEditGrid.InsertColumn (4, _T(" 婚姻状况 "), 150);
m_wndEditGrid.InsertColumn (4, _T(" 联系电话 "), 100);
CBCGPGridRow* pRow = m_wndEditGrid.CreateRow (m_wndEditGrid.GetColumnCount ());
CBCGPGridItem* pItem = new CBCGPGridItem (_T("中共党员"));
pItem->AddOption (_T("中共党员"), TRUE);
pItem->AddOption (_T("群众"), TRUE);
// pItem->AllowEdit(FALSE);
pRow->ReplaceItem (4, pItem);
pRow->ReplaceItem (5, new CBCGPGridCheckItem (FALSE));
m_wndEditGrid.AddRow(pRow);
m_wndEditGrid.AdjustLayout();
Load(members);
return TRUE;
}
示例3: AddMail
BOOL CMailView::AddMail (int nIcon, LPCTSTR strFrom, LPCTSTR strTo,
LPCTSTR strSubject, COleDateTime dateCreated, COleDateTime dateReceived, long lSize,
IMPORTANCE importance/* = IMPORTANCE_NORMAL*/,
BOOL bHasAttachment/* = FALSE*/,
int nFlag/* = 0*/)
{
CBCGPReportCtrl* pReportCtrl = GetReportCtrl ();
CBCGPGridRow* pRow = pReportCtrl->CreateRow (pReportCtrl->GetColumnCount ());
//----------------
// Set importance:
//----------------
int nImportanceIcon = -1;
switch (importance)
{
case IMPORTANCE_HIGH:
nImportanceIcon = 2;
break;
case IMPORTANCE_LOW:
nImportanceIcon = 3;
break;
}
pRow->GetItem (0)->SetImage (nImportanceIcon, FALSE);
pRow->GetItem (1)->SetImage (nIcon, FALSE);
pRow->GetItem (2)->SetImage (bHasAttachment ? 5 : -1, FALSE);
pRow->GetItem (3)->SetValue (strFrom, FALSE);
pRow->GetItem (4)->SetValue (strSubject, FALSE);
pRow->GetItem (5)->SetValue (strTo, FALSE);
pRow->ReplaceItem (7, new CBCGPGridDateTimeItem (dateCreated), FALSE);
pRow->ReplaceItem (8, new CBCGPGridDateTimeItem (dateReceived), FALSE);
pRow->GetItem (9)->SetValue (lSize, FALSE);
pRow->ReplaceItem (11, new CFlagItem (m_Flags, nFlag), FALSE);
pReportCtrl->AddRow (pRow, FALSE);
return TRUE;
}
示例4: AddData
BOOL CBCGPMSMoneyDemoView::AddData (LPCTSTR strPeriod, LPCTSTR strValue, double dDifference)
{
CBCGPGridRow* pRow = m_wndGrid.CreateRow (m_wndGrid.GetColumnCount ());
CString strCurrDate = __DATE__;
CString strQaurter;
strQaurter.Format (_T("%s %s"), strPeriod, strCurrDate.Right (4));
pRow->GetItem (1)->SetValue ((LPCTSTR)strQaurter);
pRow->GetItem (2)->SetValue (strValue);
CBCGPGridPercentItem* pPercItem = new CBCGPGridPercentItem (dDifference);
pPercItem->SetPrecision (2);
pPercItem->SetTextColor (dDifference < 0 ? RGB (255, 0, 0) : RGB (0, 127, 0));
pRow->ReplaceItem (3, pPercItem);
m_wndGrid.AddRow (pRow);
return TRUE;
}
示例5: LoadHistoryList
BOOL CDlgJianmoLogin::LoadHistoryList( void )
{
if ( !IsWindow( m_wndGridHistory.GetSafeHwnd() ) ) return FALSE;
if ( m_wndGridHistory.GetColumnCount() <= 0 ) return FALSE;
m_xhm;
m_xhm.Load();
const int nColumns = m_wndGridHistory.GetColumnCount ();
CBCGPGridRow * pRow = NULL;
CCxGridButtonItem * pBtn = NULL;
for ( int i=0; i<(int)m_xhm.m_vDatas.size(); i++ )
{
pRow = m_wndGridHistory.CreateRow (nColumns);
pRow->AllowSubItems ();
pRow->GetItem (COL_NAME)->SetValue ( (LPCTSTR)m_xhm.m_vDatas[i]->m_strName );
pRow->GetItem (COL_PATH)->SetValue ( (LPCTSTR)m_xhm.m_vDatas[i]->m_strPath );
pBtn = new CCxGridButtonItem (_T("打开"), ID_GRID_BUTTON_FIRST);
pRow->ReplaceItem (COL_OP, pBtn);
m_wndGridHistory.AddRow (pRow, FALSE);
}
return TRUE;
}
示例6: OnBnClickedGirdButton
void CDlgAllCheckOut::OnBnClickedGirdButton()
{
CBCGPGridRow * pRow = m_GridCtrl.GetCurSel();
if (pRow != NULL)
{
CString strNetId = pRow->GetItem(0)->GetValue();
for (INT i = 0; i < m_ReturnInfoArray.GetCount(); i++)
{
ReturnInfo & rInfo = m_ReturnInfoArray.GetAt(i);
if (rInfo.bLocal)
{
if (rInfo.LocalInfo.GetSerialNum().CompareNoCase(strNetId) == 0)
{
/* CActiveMember ActiveMember;
ActiveMember.SetIsLocalUser(TRUE);
rInfo.bLocalReturned = CCashierHelper::ReturnLocalUser(ActiveMember,
&rInfo.LocalInfo);
if (rInfo.bLocalReturned)
{
try
{
pRow->GetItem(5)->SetValue(_T("已退款"));
CBCGPGridItem* pItem = new CBCGPGridItem(_T(""));
pRow->ReplaceItem(6, pItem);
m_GridCtrl.RedrawWindow();
m_GridCtrl.UpdateWindow();
}
//catch(...){}
}*/
}
}
else
{
if (rInfo.CheckOutInfo.GetSerialNum().CompareNoCase(strNetId) == 0)
{
CActiveMember *pActiveMember = NULL;
for(int ar = 0 ; ar < arrMembers.GetCount(); ar++)
{
if (arrMembers.GetAt(ar).GetNetId().CompareNoCase(strNetId) == 0)
{
pActiveMember = &arrMembers.GetAt(ar);
}
}
if (!pActiveMember)
{
continue;
}
rInfo.CheckOutInfo.SetReturnState(1);
//BOOL bResult = CCashierHelper::ReturnLocalCenterUser(
// *pActiveMember, &rInfo.CheckOutInfo);
//BOOL bResult = CIBADAL::GetInstance()->UpdateCheckOutInfo(strNetId, 1);
//if (bResult)
//{
// try
// {
pRow->GetItem(5)->SetValue(_T("已退款"));
CBCGPGridItem* pItem = new CBCGPGridItem(_T(""));
pRow->ReplaceItem(6, pItem);
m_GridCtrl.RedrawWindow();
m_GridCtrl.UpdateWindow();
// }
// catch(...){}
//}
}
}
}
}
}
示例7: AddRow
void CDlgAllCheckOut::AddRow(INT_PTR nIndex, ReturnInfo &rInfo)
{
CBCGPGridRow* pRow = CreateNewRow();
pRow->SetData(nIndex);
if (rInfo.bLocal)
{
pRow->GetItem(0)->SetValue(rInfo.LocalInfo.GetSerialNum().GetString());
pRow->GetItem(1)->SetValue(rInfo.LocalInfo.GetName().GetString());
pRow->GetItem(2)->SetValue(CNetBarConfig::GetInstance()->GetUserClassName(rInfo.LocalInfo.GetClassId()).GetString());
pRow->GetItem(3)->SetValue(rInfo.LocalInfo.GetTermId().GetString());
CString strTmp;
UINT nTmp = CIBAHelpper::RoundMoney(rInfo.LocalInfo.GetReturnAmount(), CNetBarConfig::GetInstance()->GetRoundType());
strTmp.Format(_T("%.2f"), nTmp / 100.0);
pRow->GetItem(4)->SetValue(strTmp.GetString());
if ( rInfo.bLocalReturned )
{
pRow->GetItem(5)->SetValue(_T("已退款"));
}
else
{
CBCGPGridItem* pItem = new CBCGPGridButtonItem(_T("退款"), GirdButtonId);
pRow->ReplaceItem(6, pItem);
}
m_listCtrl.InsertItem(nIndex,_T(""));
m_listCtrl.SetItemText(nIndex,0,rInfo.LocalInfo.GetSerialNum().GetString());
m_listCtrl.SetItemText(nIndex,1,rInfo.LocalInfo.GetName().GetString());
m_listCtrl.SetItemText(nIndex,2,CNetBarConfig::GetInstance()->GetUserClassName(rInfo.LocalInfo.GetClassId()).GetString());
m_listCtrl.SetItemText(nIndex,3,rInfo.LocalInfo.GetTermId().GetString());
m_listCtrl.SetItemText(nIndex,4,strTmp.GetString());
if ( rInfo.bLocalReturned )
{
m_listCtrl.SetItemText(nIndex,5,_T("已退款"));
}
else
{
m_listCtrl.SetItem(nIndex,6,_T("退款"),NS_COMMON::CGxxListCtrl::GLC_Button);
}
}
else
{
CCheckOutinfo& CheckOutinfo = rInfo.CheckOutInfo;
pRow->GetItem(0)->SetValue(CheckOutinfo.GetSerialNum().GetString());
pRow->GetItem(1)->SetValue(CheckOutinfo.GetUserName().GetString());
pRow->GetItem(2)->SetValue(CheckOutinfo.GetClassName().GetString());
pRow->GetItem(3)->SetValue(CheckOutinfo.GetTerminalId().GetString());
CString strTmp;
UINT nTmp = CIBAHelpper::RoundMoney(CheckOutinfo.GetBalanceMoney(), CNetBarConfig::GetInstance()->GetRoundType());
strTmp.Format(_T("%.2f"), nTmp / 100.0);
pRow->GetItem(4)->SetValue(strTmp.GetString());
if (CheckOutinfo.GetReturnState() == 1)
{
pRow->GetItem(5)->SetValue(_T("已退款"));
}
else
{
CBCGPGridItem* pItem = new CBCGPGridButtonItem(_T("退款"), GirdButtonId);
pRow->ReplaceItem(6, pItem);
}
m_listCtrl.InsertItem(nIndex,_T(""));
m_listCtrl.SetItemText(nIndex,0,CheckOutinfo.GetSerialNum().GetString());
m_listCtrl.SetItemText(nIndex,1,CheckOutinfo.GetUserName().GetString());
m_listCtrl.SetItemText(nIndex,2,CheckOutinfo.GetClassName().GetString());
m_listCtrl.SetItemText(nIndex,3,CheckOutinfo.GetTerminalId().GetString());
m_listCtrl.SetItemText(nIndex,4,strTmp.GetString());
if ( CheckOutinfo.GetReturnState() == 1 )
{
m_listCtrl.SetItemText(nIndex,5,_T("已退款"));
}
else
{
m_listCtrl.SetItem(nIndex,6,_T("退款"),NS_COMMON::CGxxListCtrl::GLC_Button);
}
}
//CBCGPGridCheckItem* pItem = new CBCGPGridCheckItem(CheckOutinfo.GetReturnState() > 0 ? true : false);
//pRow->ReplaceItem(7, pItem);
m_GridCtrl.AddRow(pRow, FALSE);
}
示例8: OnCreateCtrl
/**
* 生成编辑界面
* @param LPCREATESTRUCT lpCreateStruct
* @return void
*/
void CTabDetour::OnCreateCtrl(LPCREATESTRUCT lpCreateStruct)
{
CRect oRect;
CString strColumn;
CBCGPGridRow* pRow = NULL;
oRect.left = lpCreateStruct->x;
oRect.top = lpCreateStruct->y;
oRect.right = lpCreateStruct->x + lpCreateStruct->cx - 20;
oRect.bottom = lpCreateStruct->y + 46;
m_oGridCtrlEdit.Create(WS_CHILD | WS_VISIBLE, oRect, this, IDC_GRID_EDIT); // 输入行
m_oGridCtrlEdit.m_iRowHeightAdd = 5;
m_oGridCtrlEdit.EnableColumnAutoSize(TRUE);
m_oGridCtrlEdit.EnableDragHeaderItems(FALSE);
m_oGridCtrlEdit.EnableHeader(TRUE, 0);
strColumn = "Low BoxType";
m_oGridCtrlEdit.InsertColumn (0, strColumn, 50);
strColumn = "Low S.N.";
m_oGridCtrlEdit.InsertColumn (1, strColumn, 50);
strColumn = "Low ChannelNb";
m_oGridCtrlEdit.InsertColumn (2, strColumn, 50);
strColumn = "High BoxType";
m_oGridCtrlEdit.InsertColumn (3, strColumn, 50);
strColumn = "High S.N.";
m_oGridCtrlEdit.InsertColumn (4, strColumn, 50);
strColumn = "High ChannelNb";
m_oGridCtrlEdit.InsertColumn (5, strColumn, 50);
strColumn = "Stop Marking";
m_oGridCtrlEdit.InsertColumn (6, strColumn, 50);
pRow = m_oGridCtrlEdit.CreateRow(m_oGridCtrlEdit.GetColumnCount());
pRow->GetItem(0)->SetValue("");
// 初始化BoxType单元格
InitBoxTypeGridItem(pRow->GetItem(0));
pRow->GetItem(1)->SetValue("");
pRow->GetItem(2)->SetValue("");
pRow->GetItem(3)->SetValue("");
// 初始化BoxType单元格
InitBoxTypeGridItem(pRow->GetItem(3));
pRow->GetItem(4)->SetValue("");
pRow->GetItem(5)->SetValue("");
pRow->ReplaceItem (6, new CBCGPGridCheckItem (FALSE));
m_oGridCtrlEdit.AddRow(pRow, FALSE);
oRect.left = lpCreateStruct->x;
oRect.top = lpCreateStruct->y + 60;
oRect.right = lpCreateStruct->x + lpCreateStruct->cx - 20;
oRect.bottom = lpCreateStruct->y + lpCreateStruct->cy - 45;
m_oGridCtrlList.Create(WS_CHILD | WS_VISIBLE, oRect, this, IDC_GRID_LIST); // 列表
m_oGridCtrlList.m_iRowHeightAdd = 5;
m_oGridCtrlList.ShowVertScrollBar();
m_oGridCtrlList.EnableColumnAutoSize(TRUE);
m_oGridCtrlList.EnableDragHeaderItems(FALSE);
m_oGridCtrlList.EnableHeader(FALSE, 0);
m_oGridCtrlList.SetReadOnly(TRUE);
m_oGridCtrlList.SetWholeRowSel(TRUE);
m_oGridCtrlList.SetSingleSel(TRUE);
strColumn = "Low BoxType";
m_oGridCtrlList.InsertColumn (0, strColumn, 50);
strColumn = "Low S.N.";
m_oGridCtrlList.InsertColumn (1, strColumn, 50);
strColumn = "Low ChannelNb";
m_oGridCtrlList.InsertColumn (2, strColumn, 50);
strColumn = "High BoxType";
m_oGridCtrlList.InsertColumn (3, strColumn, 50);
strColumn = "High S.N.";
m_oGridCtrlList.InsertColumn (4, strColumn, 50);
strColumn = "High ChannelNb";
m_oGridCtrlList.InsertColumn (5, strColumn, 50);
strColumn = "Stop Marking";
m_oGridCtrlList.InsertColumn (6, strColumn, 50);
}
示例9: OnCreateCtrl
/**
* 生成编辑界面
* @param LPCREATESTRUCT lpCreateStruct
* @return void
*/
void CTabTestSensor::OnCreateCtrl(LPCREATESTRUCT lpCreateStruct)
{
CRect oRect;
CString strColumn;
CBCGPGridRow* pRow = NULL;
oRect.left = lpCreateStruct->x;
oRect.top = lpCreateStruct->y;
oRect.right = lpCreateStruct->x + lpCreateStruct->cx - 20;
oRect.bottom = lpCreateStruct->y + 46;
m_oGridCtrlEdit.Create(WS_CHILD | WS_VISIBLE, oRect, this, IDC_GRID_EDIT); // 检波器
m_oGridCtrlEdit.m_iRowHeightAdd = 5;
m_oGridCtrlEdit.EnableColumnAutoSize(TRUE);
m_oGridCtrlEdit.EnableDragHeaderItems(FALSE);
m_oGridCtrlEdit.EnableHeader(TRUE, 0);
strColumn = "Test Nb";
m_oGridCtrlEdit.InsertColumn (0, strColumn, 50);
strColumn = "Test Type";
m_oGridCtrlEdit.InsertColumn (1, strColumn, 80);
strColumn = "Recorded";
m_oGridCtrlEdit.InsertColumn (2, strColumn, 30);
strColumn = "Absolute Spread";
m_oGridCtrlEdit.InsertColumn (3, strColumn, 100);
pRow = m_oGridCtrlEdit.CreateRow(m_oGridCtrlEdit.GetColumnCount());
pRow->GetItem(0)->SetValue("");
// 初始化TestType队列
InitTestTypeGridItem(pRow->GetItem(1));
pRow->ReplaceItem (2, new CBCGPGridCheckItem (FALSE));
pRow->GetItem(3)->SetBackgroundColor(RGB(192, 192, 192));
m_oGridCtrlEdit.AddRow(pRow, FALSE);
oRect.left = lpCreateStruct->x;
oRect.top = lpCreateStruct->y + 60;
oRect.right = lpCreateStruct->x + lpCreateStruct->cx - 20;
oRect.bottom = lpCreateStruct->y + lpCreateStruct->cy - 250;
m_oGridCtrlList.Create(WS_CHILD | WS_VISIBLE, oRect, this, IDC_GRID_LIST); // 检波器列表
m_oGridCtrlList.m_iRowHeightAdd = 5;
m_oGridCtrlList.ShowVertScrollBar();
m_oGridCtrlList.EnableColumnAutoSize(TRUE);
m_oGridCtrlList.EnableDragHeaderItems(FALSE);
m_oGridCtrlList.EnableHeader(FALSE, 0);
m_oGridCtrlList.SetReadOnly(TRUE);
m_oGridCtrlList.SetWholeRowSel(TRUE);
m_oGridCtrlList.SetSingleSel(TRUE);
strColumn = "Test Nb";
m_oGridCtrlList.InsertColumn (0, strColumn, 50);
strColumn = "Test Type";
m_oGridCtrlList.InsertColumn (1, strColumn, 80);
strColumn = "Recorded";
m_oGridCtrlList.InsertColumn (2, strColumn, 30);
strColumn = "Absolute Spread";
m_oGridCtrlList.InsertColumn (3, strColumn, 100);
oRect.left = lpCreateStruct->x;
oRect.top = lpCreateStruct->cy - 220;
oRect.right = lpCreateStruct->x + lpCreateStruct->cx - 20;
oRect.bottom = lpCreateStruct->y + lpCreateStruct->cy - 45;
m_oStaticAbsoluteSpread.Create("Absolute Spread:", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_GROUPBOX | WS_DISABLED, oRect, this, 0); // 绝对排列组框
oRect.left = oRect.left + 10;
oRect.top = oRect.top + 25;
oRect.right = oRect.right - 10;
oRect.bottom = oRect.bottom - 10;
m_oEditAbsoluteSpread.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL,
oRect, this, IDC_EDIT_ABSOLUTESPREAD); // 绝对排列编辑框
}