文件名称:AboutHtml2
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:832.17kb
-
已下载: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/
Debug/AboutHtml.exe
HtmlCtrl.cpp
HtmlCtrl.h
makefile
RES/
resource.h
RES/about.htm
RES/AboutHtml.rc
RES/app.ico
RES/app.rc2
RES/Doc.ico
RES/mainlogo.gif
RES/mozart.wav
RES/okdn.gif
RES/okup.gif
RES/pd.bmp
RES/pd.jpg
RES/Toolbar.bmp
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/
Debug/AboutHtml.exe
HtmlCtrl.cpp
HtmlCtrl.h
makefile
RES/
resource.h
RES/about.htm
RES/AboutHtml.rc
RES/app.ico
RES/app.rc2
RES/Doc.ico
RES/mainlogo.gif
RES/mozart.wav
RES/okdn.gif
RES/okup.gif
RES/pd.bmp
RES/pd.jpg
RES/Toolbar.bmp
StdAfx.cpp
StdAfx.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.