解决方案 »
- CListCtrl中的项多于默认的数量的时候,会自动加滚动条,这个滚动条怎么和现有的界面如和处理呢,我的list是有背景图的?
- 关于句柄的使用问题?
- //一个“窗口句柄”强制转换为“long”型(传给另一种语言程序)这样安全吗?
- 最小化到托盘的窗体和一般的窗体有什么主要的差异?枚举窗口时如何区分它们?
- vc程序从一个目录copy到另一个目录,会不会改动一个,另一个也改动???
- 定时器为什么不起作用
- 初学MFC,试《深入浅出MFC》上的第一个例子,编译不通过。请各位大侠帮忙啊!
- 画笔的问题!CPen
- 我做了一个对话框,在上边加了一个listctrl ,我如何取得listctrl 的rect
- 能不能在基于对话框的程序里实现串行化?
- 求教:LoadMenuIndirect函数究竟该如何使用??
- 编译时可否不管 c2011,c2365错误提示?
);
ParameterslpMenuTemplate
[in] Pointer to a menu template or an extended menu template. A menu template consists of a MENUITEMTEMPLATEHEADER structure followed by one or more contiguous MENUITEMTEMPLATE structures. An extended menu template consists of a MENUEX_TEMPLATE_HEADER structure followed by one or more contiguous MENUEX_TEMPLATE_ITEM structures.
Return ValueIf the function succeeds, the return value is a handle to the menu.If the function fails, the return value is NULL. To get extended error information, call GetLastError.
ResFor both the ANSI and the Unicode version of this function, the strings in the MENUITEMTEMPLATE structure must be Unicode strings. Windows 95/98/Me: LoadMenuIndirectW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems World Wide Web link.