// JP opened flex table

Click to See Complete Forum and Search --> : problem with windows 2000


Osterreicher
November 2nd, 2000, 04:50 AM
how it's possible with windows 95 and 98
my program with class CRichEditClass and the paragraph:

void CAPadView::OnInitialUpdate()
{
CRichEditView::OnInitialUpdate();

CRichEditCtrl& theCtrl = GetRichEditCtrl();
theCtrl.SetBackgroundColor(FALSE,sColorBkg);

CHARFORMAT cfn;

cfn.cbSize = sizeof(cfn);
cfn.dwMask = CFM_FACE | CFM_SIZE | CFM_BOLD |CFM_COLOR
|CFM_ITALIC| CFM_STRIKEOUT| CFM_UNDERLINE|CFM_CHARSET;

cfn.yHeight = syheight;
cfn.dwEffects = sBold;
cfn.crTextColor = sColor;
_tcscpy(cfn.szFaceName,sValue.GetBuffer(20));
Char_cfn = cfn;
theCtrl.SetDefaultCharFormat(Char_cfn);
}
is'nt problem.

with Windows 2000 and the same paragrah for each new
frame not modified one box dialog is open with
this question "save changes to document?"
how make for avoid this dialog box?

tanks for your response.

Osterreicher
November 2nd, 2000, 09:01 AM
i have resolving my problem.
i have transfering this paragraph to

)
int CAPadView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
}

//JP added flex table