头文件和源文件中的定义是一样的,但ClassView中却显示的这样:头文件和源文件的定义:// 头文件中
HWND InitWindow(
//##Documentation
//## 应用程序句柄
HINSTANCE hInstance,
//##Documentation
//## -
int nCmdShow,
//##Documentation
//## 窗口宽度
int iWidth = 400,
//##Documentation
//## 窗口高度
int iHeight = 400,
//##Documentation
//## 是否全屏
BOOL bFullScreen = FALSE);
// 源文件中
//##ModelId=492FEBD902EE
HWND CGameWnd::InitWindow(HINSTANCE hInstance, int nCmdShow, int iWidth, int iHeight, BOOL bFullScreen)
{ return NULL;
}
HWND InitWindow(
//##Documentation
//## 应用程序句柄
HINSTANCE hInstance,
//##Documentation
//## -
int nCmdShow,
//##Documentation
//## 窗口宽度
int iWidth = 400,
//##Documentation
//## 窗口高度
int iHeight = 400,
//##Documentation
//## 是否全屏
BOOL bFullScreen = FALSE);
// 源文件中
//##ModelId=492FEBD902EE
HWND CGameWnd::InitWindow(HINSTANCE hInstance, int nCmdShow, int iWidth, int iHeight, BOOL bFullScreen)
{ return NULL;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货