MFC创建窗口时,无法创建,出现以下提示---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!Program: D:\Microsoft Visual Studio 6.0\PlantGame\Debug\PlantGame.exe
File: wingdi.cpp
Line: 1120For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.(Press Retry to debug the application)
---------------------------
终止(A)   重试(R)   忽略(I)   
---------------------------
调试后出现,断点出现在以下位置的return语句extern "C" int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
// call shared/exported WinMain
return AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
}
我没有改变窗口的属性,只是调整了它的大小而已。这是为什么?