| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 509 人关注过本帖
标题:窗体无法显示
只看楼主 加入收藏
jianghong_02
Rank: 6Rank: 6
等 级:侠之大者
威 望:1
帖 子:143
专家分:476
注 册:2010-10-2
结帖率:100%
收藏
已结贴  问题点数:20 回复次数:1 
窗体无法显示
// App.cpp: implementation of the App class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "resource.h"
#include "App.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
App hong;
App::App()
{

}

App::~App()
{

}
App::jiang()
{CFrameWnd  *fr=new CFrameWnd();
   fr->Create(NULL,"jiangong");
   m_pMainWnd=fr;
   m_pMainWnd->ShowWindow(SW_SHOW);
   return true;
}
程序没有问题,但窗口为什么 不能显示呢
搜索更多相关主题的帖子: 窗体 
2010-11-15 12:27
shafeilong
Rank: 9Rank: 9Rank: 9
等 级:蜘蛛侠
威 望:4
帖 子:236
专家分:1434
注 册:2009-3-21
收藏
得分:14 
应该在框架类那边构造窗口吧?
2010-11-16 18:48
快速回复:窗体无法显示
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011023 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved