OSDN Git Service

2005-03-07 Perry
authorPerry Rapp <elsapo@users.sourceforge.net>
Mon, 7 Mar 2005 13:47:22 +0000 (13:47 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Mon, 7 Mar 2005 13:47:22 +0000 (13:47 +0000)
 PATCH: [ 1157859 ] Add LVS_SHOWSELALWAYS style to dirview
 Postlude: Alter WindowStyle_Add to call CWnd::ModifyStyle.
  Src/Common: WindowStyle.cpp

Src/Common/WindowStyle.cpp
Src/readme.txt

index 986c8e7..df4d2ab 100644 (file)
@@ -22,7 +22,6 @@ static char THIS_FILE[] = __FILE__;
 void
 WindowStyle_Add(CWnd * pwnd, DWORD newStyle)
 {
-       DWORD style = pwnd->GetStyle();
-       style |= newStyle;
-       SetWindowLong(pwnd->m_hWnd, GWL_STYLE, style);
+       DWORD removeStyle = 0;
+       pwnd->ModifyStyle(removeStyle, newStyle, 0);
 }
index 1db996b..1832118 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-07 Perry
+ PATCH: [ 1157859 ] Add LVS_SHOWSELALWAYS style to dirview
+ Postlude: Alter WindowStyle_Add to call CWnd::ModifyStyle.
+  Src/Common: WindowStyle.cpp
+
 2005-03-06 Tim
  PATCH: [ 1156198 ] Non-standard html in developer docs
   Docs/Developers: readme-developers-*.html