WM_INITMENU的WPARAM所指的主菜单句柄是所选菜单项上层菜单句柄还是菜单资源的句柄,或其他?显示一个弹出式菜单是不是显示弹出式菜单的当前菜单项还是弹出式菜单本身?WM_INITMENUPOPUP的WPARAM为弹出式菜单句柄,但LOWORD(lParam)所指的弹出式菜单索引是弹出式菜单的菜单项索引还是其他?
解决方案 »
- 请问:mdi程序初始化时显示多个视图,应该如何做?
- 用过ultimate toolbox 开源界面库的请进
- VS2008中,为MFC ACTIVEX控件添加事件,提示“无法找到事件接口”
- vc6.0处理50000条数据出错。。麻烦高手帮忙啊
- 请问应该如何自绘Edit控件?
- 关于DLL 使用 COM对象作为参数
- 请问:为什么我在vc工程设置-》setting for debug,不行啊,
- 为什么在控件中响应右键弹出菜单时,光标默认为十字箭头样式。
- 一个简单的问题.
- 回者即给分!请大虾们快点救救我!为什么CString::LoadString函数失败?
- VC 鼠标快速移动的时候,onmousemove捕捉不到消息?
- 有熟悉 IJL 的人吗?
WM_INITMENUPOPUP的LOWORD(lParam)是子菜单索引。
WPARAM wParam
LPARAM lParam ParameterswParam
Handle to the menu to be initialized.
lParam
This parameter is not used.
LPARAM lParam;
ParameterswParam
Handle to the drop-down menu or submenu.
lParam
The low-order word specifies the zero-based relative position of the menu item that opens the drop-down menu or submenu.
The high-order word indicates whether the drop-down menu is the window menu. If the menu is the window menu, this parameter is TRUE; otherwise, it is FALSE.
LPARAM lParam;
ParameterswParam
Handle to the drop-down menu or submenu.
lParam
The low-order word specifies the zero-based relative position of the menu item that opens the drop-down menu or submenu.
The high-order word indicates whether the drop-down menu is the window menu. If the menu is the window menu, this parameter is TRUE; otherwise, it is FALSE.