文件名称:AboutHtml2
- 所属分类:
- ISAPI/IE编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 832kb
- 下载次数:
- 0次
- 提 供 者:
- 唐*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VC知识库《在线杂志》第六期有一篇文章“VC6中使用CHtmlView在对话框控制中显示HTML文件”,很多读者来信说很喜欢这种功能。但是美中不足的是在对话框的HTML页面上单击鼠标右键会弹出上下文菜单。从而可以象在IE中那样看到页面的源代码。为了防止用户查看HTML代码,有人尝试过在CHtmlCtrl派生的窗口中重载WM_CONTEXTMENU,或者在CHtmlView以及CHtmlCtrl类中禁用右键的上下文菜单和弹出式菜单,这两个方法都没有成功。那么如何禁用HTML的这个上下文菜单呢? 本文就针对这个问题用不同的方法来完善上次的程序。-VC knowledge base "online magazine" is a sixth article "VC6 use CHtmlView control in the dialog box display HTML document," said the letter from the many readers liked function. But it is regrettable that the dialog in HTML pages on the right-click context menu will pop. Thus, as in IE did see page source code. To prevent the user to view the HTML code, it was tried in CHtmlCtrl derived heavy WM_CONTEXTMENU window, or CHtmlView class and CHtmlCtrl banned right in the context menu and pop-up menus, the two methods have not been successful. So how to disable HTML in the context menu? Paper addressing the problem in different ways to improve the previous procedures.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AboutHtml.aps
AboutHtml.cpp
AboutHtml.dep
AboutHtml.dsp
AboutHtml.dsw
AboutHtml.mak
AboutHtml.ncb
AboutHtml.opt
AboutHtml.plg
AboutHtml.rc
AboutHtml.rc.bak
Debug
.....\AboutHtml.exe
HtmlCtrl.cpp
HtmlCtrl.h
makefile
RES
...\about.htm
...\AboutHtml.rc
...\app.ico
...\app.rc2
...\Doc.ico
...\mozart.wav
...\pd.bmp
...\pd.jpg
...\Toolbar.bmp
resource.h
StdAfx.cpp
StdAfx.h
AboutHtml.cpp
AboutHtml.dep
AboutHtml.dsp
AboutHtml.dsw
AboutHtml.mak
AboutHtml.ncb
AboutHtml.opt
AboutHtml.plg
AboutHtml.rc
AboutHtml.rc.bak
Debug
.....\AboutHtml.exe
HtmlCtrl.cpp
HtmlCtrl.h
makefile
RES
...\about.htm
...\AboutHtml.rc
...\app.ico
...\app.rc2
...\Doc.ico
...\mozart.wav
...\pd.bmp
...\pd.jpg
...\Toolbar.bmp
resource.h
StdAfx.cpp
StdAfx.h