CControlUI* CDuiFrameWnd::CreateControl( LPCTSTR pstrClassName )
{
if (_tcsicmp(pstrClassName, _T("WndPlayPanel")) == 0)
{
CDialogBuilder builder;
CControlUI* pUI = builder.Create(_T("WndPlayPanel.xml"));
return pUI;
}
return NULL;
}
文档信息
- 本文作者:zhupite
- 本文链接:https://zhupite.com/duilib/duilib-add-custom-control.html
- 版权声明:自由转载-非商用-非衍生-保持署名(创意共享3.0许可证)