首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > VC知识库"在线杂志"是六分之一条"使用vc6的C.

VC知识库"在线杂志"是六分之一条"使用vc6的C.

  • 资源大小:832.17 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: ISAPI-IE

资 源 简 介

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
mainlogo.gif
mozart.wav
okdn.gif
okup.gif
pd.bmp
pd.jpg
Toolbar.bmp
resource.h
StdAfx.cpp
StdAfx.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP