在一个单文档程序中,
在MainFrm中运行如下代码,可就是没有显示内容,请问怎回事?
CBrowserView* pView=(CBrowserView*)GetActiveView();
pView->SetWindowText(m_strContent);m_strContent不为NULL。
在MainFrm中运行如下代码,可就是没有显示内容,请问怎回事?
CBrowserView* pView=(CBrowserView*)GetActiveView();
pView->SetWindowText(m_strContent);m_strContent不为NULL。
解决方案 »
- 请问如何从vc资源载入mp3文件,然后用MCI播放.
- 双缓冲 实现 , 急 急 !!
- 如何实时检测"可用"带宽。
- error LNK2001: unresolved external symbol "public: static struct CRuntimeClass GPoint::classGPoint" (?classGPoint@GPoint@@2UCRun
- 如何同時啟動24個线程,有什么简捷的方法么?
- 为什么我调用我做的控件的方法有问题?
- 菜鸟级问题,让大家见笑了。
- project的release版本调用dll的debug版本为什么出错?交叉调用都会出错
- 用intrabob调试。。。。。
- 请教下JPEG压缩的组帧形式?
- 一个弱问题,关于oncommand
- 请问如何自定义程序的工具栏我调用了Ctoolbar.customize()但是什么也没出来阿
CMainFrame *pFrame;
pFrame=(CMainFrame*)AfxGetApp()->GetMainWnd();
pView = (CBrowserView*)pFrame->GetActiveView()
pView->SetWindowText("");