【发布时间】:2011-04-07 21:36:06
【问题描述】:
如何使用编辑框创建多行属性?我还需要一个在多行框中显示文本的属性。
CMFCPropertyGridProperty* pGroup1 = new CMFCPropertyGridProperty(_T("Appearance"));
pGroup1->AddSubItem(new CMFCPropertyGridProperty(_T("Name"), (_variant_t) _T(""), _T("Specifies the text that will be displayed in the property")));
pGroup1->AddSubItem(new CMFCPropertyGridProperty(_T("Comments"), (_variant_t) _T(""), _T("Specifies the text that will be associated with the property")));
m_wndPropList.AddProperty(pGroup1);
【问题讨论】:
标签: c++ mfc mfc-feature-pack