Visual Studio/Office 97 style Flat Toolb - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
In your FrameWnd you call the CNGenericMenu::SetMenu function to load the menu. Then, when the user click/Shortcut a menu, a Notify Reflect on the CNGenericMenu::OnShowMenu is triggered, this function then call the CNGenericMenu::ShowDropDown.
This last function, extract a sub-menu from the menu title, and sends it to CNGenericPopup::ShowMenu. This function in turn, is responsible for creating a window in which the menu will be drawn/emulated.
Visual Studio/Office 97式的工具栏和菜单栏
在你的框架窗口中你调用了CNGenericMenu::SetMenu函数来加载菜单。后来,当用户点击/通过快捷方式调用了菜单时,函数CNGenericMenu::OnShowMenu被触发。这个函数随后调用了函数CNGenericMenu::ShowDropDown。
最后的函数,从菜单样式中创建了一个子菜单,并且把它送给了函数
CNGenericPopup::ShowMenu。这个函数随后创建了一个显示这个菜单的窗口。
来源: http://www.codeguru.com/toolbar/VSOMenu.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
VSOMenu |
 1.0  |
2004-04-19 |
下载 |
|
|