搜索资源列表
HideShowSubMenu
- 动态增加菜单项,并为下拉菜单的某个item添加sub menu-increased dynamic menu items, and the drop-down menu item to add a sub menu
菜单提示信息
- 我正在做一个历时很久的项目。出于某些原因,项目启动之初我们实现了自己的弹出式菜单。当工具提示信息出现之后,我们将这个功能引入了我们自己的菜单,以便当用户将鼠标停留在某个菜单项上的时候,能够出现相应的提示信息。这一功能对于我们的用户来说非常重要,因为 用它可以解释为什么某个菜单项是被禁用的。由于我们的用户对 Windows 平台越来越熟悉,他们想要外观上更标准的菜单。现在我们使用了 CMenu,但是我们失去了 出色的菜单提示信息。请问如何在 MFC 中实现菜单提示信息呢?-I are doing
MenuXP
- xp风格的界面,对菜单,标题重新绘制,取得菜单的句柄,再在ITEM上 贴位图-xp style interface, the menu heading to redraw obtain a handle to the menu, and pasting in ITEM Bitmap
TheMenu3
- 本实例将实现一个可动态更新的绘图菜单,当满足一定条件时,会打开或折叠部分菜单项 程序功能说明:当[固定大小]菜单项被选中时,相应的几项菜单也被显示。用户选择好大小和图形(是椭圆,还是矩形),在窗口中单击鼠标左键,将绘制相应的图形。 当[自定义大小]菜单项被选中时,则几个提供固定大小的菜单项被移去。用户选择图形(是椭圆还是矩形后),在窗口中按住鼠标左键并托动,程序将绘制相应图形。 -example of the realization of a dynamic update
ConfirmMenuPlace
- 代码简介或代码解析: 要根据命令标志确定菜单项的位置,只要根据命令标志在逐层菜单中寻找相应的菜单项,并确定其位置即可,一旦得到位置我们就可以在该位置添加菜单项的实例。 1 在resouce.h中定义一个新的ID表示要添加的菜单 2 在CMainFram类添加函数bool CMainFram::FindMenuPos(...) ,此函数将根据命令标志确定菜单项的位置 3 在CMainFram类添加函数void CMainFram::InsertMenu(...),此函数将
xp风格的弹出动态菜单
- 一个很好的类似XP风格的弹出菜单,可以自己添加菜单图标,同时菜单项目选择后图标可以更换显示选择状态。-a good XP style similar pop-up menu, can add their own menu icon, choose the menu item icon can be replaced after the selection show.
cqa0311
- 当工具提示信息出现之后,我们将这个功能引入了我们自己的菜单,以便当用户将鼠标停留在某个菜单项上的时候,能够出现相应的提示信息。这一功能对于我们的用户来说非常重要,因为 用它可以解释为什么某个菜单项是被禁用的。由于我们的用户对 Windows 平台越来越熟悉,他们想要外观上更标准的菜单。现在我们使用了 CMenu,但是我们失去了 出色的菜单提示信息。-message as a tool there, we will introduce the function of our own menu, s
一个酷菜单的源代码
- 该软件提供了一个酷菜单,当你移动到一个菜单项时,颜色发生变化,而且菜单界面很酷!你可以将该菜单的实现移植到你的程序里。 -The software provides a cool menu, when you moved to a menu item, color change, but the menu interface cool! You can achieve this menu to your transplant procedures Lane.
MenuA
- 1. 新建一个空的Win32项目(假设新建项目名称为SixthProj) 设置Win32应用程序向导的“应用程序设置”选项卡,“应用程序类型”项选择“Windows应用程序”,“附加选项”部分选择“空项目”复选框。 VC++ .NET会为该项目新建一个解决方案,并在项目文件夹下产生四个文件:SixthProj.sln是解决方案管理文件,SixthProj是项目管理文件,SixthProj.ncb是项目数据库文件,SixthProj.suo是用户选项文件(它是一个隐藏文件,目前可以忽略) 2. 向
drawn-menu
- 一种漂亮的自绘菜单,改变菜单风格,绘制菜单项文本,由工具栏的位图来产生菜单所用的位图列表。-One kind of beautiful self-drawn menu, change the menu style, drawing the menu item text from the toolbar menu bitmap to generate a list of bitmap used.
Mainwidow_menu
- 这个代码主要是如何建立窗口菜单项,实现各种菜单项的connect-This code is mainly how to set up the Window menu item, connect to achieve a variety of menu items
menu-tool-tip
- 给菜单添加提示信息,鼠标移到菜单项后显示气泡提示信息-Adding to the menu prompts, mouse over the menu item displays a message bubble
contentmenu
- 一个自定义菜单项的源码-A custom menu item source
MenuPROSys
- 菜单项目系统的例子(仿Windows菜单) 比较完备的一个菜单项目系统, 通过该项目能系统的掌握程序设计的一些方法。-Examples of menu items system (like Windows menu) relatively complete system of a menu item through the system of the project will have a number of methods of program design.
import
- 本例介绍如何通过菜单棒(MenuBar)、菜单(Menu)、菜单项(MenuItem)3个主要对象组成窗口中的菜单栏-Describes how in this case through the menu bar (MenuBar), menu (Menu), menu item (MenuItem) 3 main objects of the menu bar window
IconMenu
- 本例设计了一个CIconMenu菜单类,该类派生于CMenu,以用CIconMenu可以在菜单项中显示图标-In this case designed a CIconMenu menu class, the class derived from CMenu, in order to use CIconMenu can display the icon in the menu item
RunTimeHotKey
- 说明 在运行时改变任一菜单项的热键 验证: 1、启动时,“Ctrl+C”为菜单项“菜单一”热键; 2、点击按钮后,“Alt+A”成菜单项“菜单一”热键。 -Descr iption of any change in the run-time hotkey menu item validation: 1, start time, " Ctrl+ C" for the menu item " menu a" hot key 2, click
VB_registry_prohibits_View_menu_bar_item
- VB注册表禁止查看工具拦菜单中的菜单项VB registry prohibits View Tools menu in the menu bar item -VB registry prohibits View Tools menu in the menu bar item
MenuApp
- 实现在菜单项的前面加上图标,修改菜单的可用性-Achieved by adding the menu item icon to modify the availability of the menu
caidanbiancheng
- 来自菜单、加速键或工具栏按钮的消息。这类消息都以WM_COMMAND呈现。在MFC中,通过菜单项的标识(ID)来区分不同的命令消息;在SDK中,通过消息的wParam参数识别。-From the menu or toolbar button to speed up the key message. Such messages are presented in WM_COMMAND. In MFC, a menu item through the identification (ID) to di