我在看孙鑫的MFC教程,但是讲到菜单的时候调用了GetSystemMetrics来去系统的位图大小,但是我找了一下MSDN里面 没有这个函数呀   求解释  ,还是我的MSDN 有问题 ,本人菜鸟 谢谢各位大神  呵呵~

解决方案 »

  1.   

    确实有问题、、、GetSystemMenu
    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. 
      

  2.   

    google "site:msdn.microsoft.com GetSystemMetrics"