Browse Source

去年SetWindowsPos

Jeff 3 years ago
parent
commit
1ba9ce64e0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      FieldTestTool/FieldTestTool/PropertiesWnd.cpp

+ 0 - 2
FieldTestTool/FieldTestTool/PropertiesWnd.cpp

@@ -410,8 +410,6 @@ void CPropertiesWnd::LoadKeyInfo(std::vector<KeyInfo> &vtKeyInfo, TString path)
 
     // 获取标题栏高度;
     int nCaptionHeight = 39; //GetSystemMetrics(SM_CYCAPTION);不准 GetWindowRect - GetClientRect
-    // 设置窗口大小;
-    SetWindowPos(NULL, 0, 0, m_nDefaultWidth, m_nDefaultHeight + nCaptionHeight, SWP_NOMOVE|SWP_FRAMECHANGED);   //SWP_NOACTIVATE | SWP_NOZORDER
 
     AdjustLayout();
 }