16,470
社区成员
发帖
与我相关
我的任务
分享
int CTest2View::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CView::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
GetParent()->GetMenu()->AppendMenu(MF_STRING,IDM_TESTMENU,_T("对话框"));
return 0;
}
void CTestDlg::OnBntAdd()
{
// TODO: Add your control notification handler code here
MessageBox(_T("test dialog"));
}