文件名称:MFCHtmlNoScroll
介绍说明--下载内容均来自于网络,请自行研究使用
让VC++使用WebBrowser控件加载HTML网页时不显示滚动条,实现思路为:实现事件 documentcomplete,当HTML下载完毕时再显示出来,然后在此事件代码中去掉滚动条。在特定的场合,比如要在软件中显示一个广告图片又不想滚动条的出现影响界面美观等,平时可遇到类似较多的情况。-Let VC++ using the WebBrowser control loads the HTML page does not display a scroll bar, for the realization of the idea: implement event documentcomplete, when the HTML is downloaded and then displayed, and then remove the scroll bar code in this event. In certain situations, such as in software to display an ad images and do not want the scroll bar appears influence beautiful interface, etc., can usually encountered many similar situations.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MFCHtmlNoScroll\MFCHtmlNoScroll.aps
...............\MFCHtmlNoScroll.clw
...............\MFCHtmlNoScroll.cpp
...............\MFCHtmlNoScroll.dsp
...............\MFCHtmlNoScroll.dsw
...............\MFCHtmlNoScroll.h
...............\MFCHtmlNoScroll.rc
...............\MFCHtmlNoScrollDlg.cpp
...............\MFCHtmlNoScrollDlg.h
...............\ReadMe.txt
...............\res\MFCHtmlNoScroll.ico
...............\...\MFCHtmlNoScroll.rc2
...............\resource.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\webbrowser2.cpp
...............\webbrowser2.h
...............\res
MFCHtmlNoScroll