16,551
社区成员
发帖
与我相关
我的任务
分享BOOL CXXXView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
if( !CRichEditView::PreCreateWindow( cs ) )
{
TRACE( _T( "Failed CRichEdtView::PreCreateWindow\r\n" ) );
return FALSE;
}
cs.style |= ES_SELECTIONBAR;
#ifndef _UNICODE
cs.lpszClass = "RICHEDIT20A";
#else
cs.lpszClass = "RICHEDIT20W";
#endif
return TRUE;
}