在RichEditCtrlEx中添加按钮
void CRichEditCtrlEx::AddButton()
{
 CString str=GetRTF();
 str.GetBuffer();
 m_button.Create("Button", BS_DEFPUSHBUTTON, CRect(0, 0, 20, 20), this, ID_BUTTON+pos);
 pos++;
}
但第一次添加时显示按钮,第二次的话就死掉了.
不知道怎么回事?