右键菜单
2012-07-26 14:26
204 查看
public int showContextMenu(int _menuHandle) { int ret; int myItemIdx; PopupMenu popupMenu = PopupMenu::create(_menuHandle, this.hWnd()); ; myItemIdx = popupMenu.insertItem("Click here"); ret = popupMenu.draw(); if (ret == myItemIdx) { info("Clicked"); } return ret; }
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
相关文章推荐
- 利用注册表添加系统右键菜单
- 清理鼠标右键菜单
- EXT.NET 使用总结(2) ---TreePanel(带右键菜单,节点自定义属性)
- c#,winform,contextmenutrip,treeview,右键快捷菜单,定位问题,当前节点
- js禁用右键菜单,防止复制、选中
- 通过注册表创建右键菜单cmder
- 简单的自定义鼠标右键菜单
- (C#)Windows Shell 外壳编程系列7 - ContextMenu 注册文件右键菜单
- 右键菜单实现javascript
- 【JQuery】右键菜单插件——contextmenu
- Win7如何自定义鼠标右键菜单 添加新建PowerPoint文档
- richedit中加右键菜单:复制、粘贴、剪切等基本功能,代码如何写?
- 如何在IE的工具栏和鼠标右键菜单中加入按钮
- 右键点击文件夹或盘符后出来的菜单里没有“共享”这一项
- Devexpress xtraGrid 右键菜单位置控制
- windows下修改右键菜单“发送到”项…
- 在工程里寻找各种对象(如:右键菜单pop1,在menus里面寻找)
- 执行程序(例如UltraEdit)在WIN7下添加到右键菜单
- windows右键菜单大揭密
- 去除AMD ATI 显卡 右键菜单 方法