注册窗口类RegisterClassEx  & AfxRegisterWndClass
原创 2013-11-29 15:16:47
1002阅读
BOOL bRet=CWnd::CreateEx(0, AfxRegisterWndClass(0), 0, WS_POPUP,point.x, point.y, m_width, m_hight, parentWnd->GetSafeHwnd(), NULL, NULL); 因为我在CreateE
转载 2018-02-09 11:04:00
49阅读
2评论
1.创建SDI应用程序 2.在框架类应用程序PreCreateWindow函数中添加如下代码: cs.lpszClass=AfxRegisterWndClass(CS_VREDRAW|CS_HREDRAW,0,0,LoadIcon(NULL,IDI_WARNING)); 3.在视类应用程序PreCreateWindow函数中添加如下代码: cs.lpszClass=AfxRegisterW
原创 2011-05-11 11:45:48
460阅读
1点赞
1评论