VC中使用CHtmlView,打开Url时,如何禁止状态栏显示正在打开的信息? 如题,访问任何一个网站时,在打开网页的过程中,状态栏会有所显示,我想去掉这个信息,该怎么办呢?谢谢大家的支持。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 最近这个论坛好象有问题,请大家回我的帖之前先将地址栏里的bbs换成community,否则会提示你什么地址错误,不让发帖 There is no status bar in CHTMLView 怎么可能,你的程序本来就有状态栏的,又不是chtml View带来的,是属于Frame框架的啊!!! CHtmlView does not know the existance of a status bar, you must have written some code to update the status.check your CHtmlView::OnProgressChange implementation. void CMIEView::OnProgressChange(long nProgress, long nProgressMax){ //if(nProgress !=-1 ){ // CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd(); // pMainFrame->m_wndStatusBar.SetPaneText(0,"dddddddddd"); //}}还是不行 CHtmlView::OnStatusTextChange , sorry 谢谢你的回复!void CMyView::OnStatusTextChange(LPCTSTR lpszText){ CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd(); pMainFrame->m_wndStatusBar.SetPaneText(0,"dddd"); }可是这样我的状态栏怎么都是" dddd " 了,我也只想去掉正在打开的那个网址,其它的状态栏信息不变!希望大虾再指点一下 还有,我网页用的是框架,怎么打开后,这个OnStatusTextChange就一直捕捉消息啊 Some websites update the status bar constantly. Use another status bar if necessary. 重写CHtmlView::OnStatusTextChange ,是没错的 关于文件中数据与绘制出的曲线的问题? 鼠标双击与单击 ListView图标无法透明问题??? 各位大哥,广发英雄贴!!!1!我急死了,TAPI问题,怎么判断对方摘机?我只有20的可用分。大家发扬一下风格! Windows下直接访问硬盘扇区怎么做呢? 遇到错误了调不过去!!大家帮我看看~~~谢谢 真他妈的难学难懂 c++大神 快来 ! 急救! ISAPI调试问题,高手请进 请问如何禁止和启用菜单? RichEdit中插入Gif动画的几个问题情高手赐教----网上等 MFC开发的activeX控件在IE浏览器中访问的问题,在线等
{
//if(nProgress !=-1 ){
// CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd();
// pMainFrame->m_wndStatusBar.SetPaneText(0,"dddddddddd");
//}}
还是不行
void CMyView::OnStatusTextChange(LPCTSTR lpszText)
{
CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd();
pMainFrame->m_wndStatusBar.SetPaneText(0,"dddd");
}
可是这样我的状态栏怎么都是" dddd " 了,我也只想去掉正在打开的那个网址,其它的状态栏信息不变!希望大虾再指点一下