比如我想隐藏我的程序中主菜单的"工具->选项"的这一项, 应该如何做呢?
解决方案 »
- 散分!看了半年的驱动,终于安装上helloworld复杂度的自制驱动了!
- 动态调用一个动态连接库,出现变量没有定义的错误
- 如何用对话框来实现?
- 关于CRichEditCtrl的问题,在XP下正常,在98下面就不行了!
- 我想不通过模式对话框的“确定”或“取消”按钮该如何关闭对话框!??
- DAO访问数据库的问题:数字型字段在VC中是什么类型?
- 怎样动态的改变对话框的caption属性值?
- 我想知道文件筛选器(lpstrFilter)中 |(竖线) 这个符号是位或运算符吗?
- 求助 我想让某个程序每次运行都先运行我的代码
- 怎么会是死循环?---请教高手
- 如何在win2000下屏蔽系统热键Ctrl+Alt+Del?
- 高分求解 各位兄弟帮帮忙啊!
The RemoveMenu function deletes a menu item or detaches a submenu from the specified menu. If the menu item opens a drop-down menu or submenu, RemoveMenu does not destroy the menu or its handle, allowing the menu to be reused. Before this function is called, the GetSubMenu function should retrieve a handle to the drop-down menu or submenu. BOOL RemoveMenu(
HMENU hMenu, // handle to menu
UINT uPosition, // menu item identifier or position
UINT uFlags // options
能不能在详细点呀, 我这台机器上没有装msdn:(
我想在隐藏后又可以恢复. 另外hMenu怎么得到呢?
http://www.codeproject.com/menu/dynitems.asp