是最上层的窗口枸柄??
解决方案 »
- 如何操作WORD文档里面图表对应的数据
- mfc如何调用Windows media player 播放raw文件
- linux下编译stlport错误
- ListView_GetColumn(hList,i,&lv);不能成功执行的问题
- 怎么在EDIT里添加字符后产生OnChangeEdit1()
- 在静态切分窗口中,如何动态修改右边的视图
- 高分请求各位支援,下周二要考试了!!搞不定!这几个vc题!!
- 用什么函数可以得到字符的ASCII值
- 请问如何读取NAT端口映射表里面的数据???
- 如何在自己定义的类里输出文本到视图上
- 请问,怎么样在大型的for循环中,响应用户的操作
- CTypePtrList是什么数据结构??
CWinApp* AfxGetApp( ); Return ValueA pointer to the single CWinApp object for the application.ResThe pointer returned by this function can be used to access application information such as the main message-dispatch code or the topmost window.Example// Print the application's executable filename.
TRACE("Executable filename = %s\n", AfxGetApp()->m_pszExeName); --------From MSDN
{ return afxCurrentWinApp; }#define afxCurrentWinApp AfxGetModuleState()->m_pCurrentWinApp看到了没有~m_pCurrentWinApp~
就是你声明的那个CWinApp CMyWinApp;