16,548
社区成员




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;
}