|
发表于 2003-10-15 16:14:00
|
显示全部楼层
Re:VC创建窗口出错:(帮看看好吗?
主要出错在
CMyFrame::CMyFrame(void)
{
Create(NULL,"My Example");
}
你的CMyFrame继承于类CFrameWnd,他的Create函数的第一个参数是你要创建的window class的类名,msdn里是这么说这个参数的
Points to a null-terminated character string that names the Windows class. The class name can be any name registered with the AfxRegisterWndClass global function or the RegisterClass Windows function. |
|