我在看孙鑫的MFC教程,但是讲到菜单的时候调用了GetSystemMetrics来去系统的位图大小,但是我找了一下MSDN里面 没有这个函数呀 求解释 ,还是我的MSDN 有问题 ,本人菜鸟 谢谢各位大神 呵呵~
解决方案 »
- MFC 连续显示多张位图
- 如何获取_com_error的错误码的值
- 一个VC CreateProcess 问题?新建的进程窗口怎么没跑到坐标0,0的位置去
- !!讨论!!如何在内存里虚拟一个文件!!
- 关于默认按钮的问题
- 请教JPEG和PNG的解码源码,不要用CxImage类,我有JPEG.lib和PNG.lib也不知道怎么用
- 一个打开文件的问题,求助!
- 编译无错:运行时却出现一大堆symbols for 'C:\WINNT\system32\MFCO42D.DLL'错
- 想学一下vc++ ole db编程,请各位指教一下什么书比较好!前用ADO编程。
- 小弟有一问题,在ATL程序中怎样将一个CString变量赋给一个BSTR型变量,反之那?
- 高手 指点如何在编辑框中实时更新数据
- 由向导生成的MDI程序,VC6没有滚动条,VC2010却有,怎么给去掉?
The GetSystemMenu function allows the application to access the window menu (also known as the system menu or the control menu) for copying and modifying. HMENU GetSystemMenu(
HWND hWnd, // handle to window
BOOL bRevert // reset option
);
Parameters
hWnd
[in] Handle to the window that will own a copy of the window menu.
bRevert
[in] Specifies the action to be taken. If this parameter is FALSE, GetSystemMenu returns a handle to the copy of the window menu currently in use. The copy is initially identical to the window menu, but it can be modified.
If this parameter is TRUE, GetSystemMenu resets the window menu back to the default state. The previous window menu, if any, is destroyed.