Author: khornicek
Date: Sat Nov 1 12:43:45 2014
New Revision: 65168
URL:
http://svn.reactos.org/svn/reactos?rev=65168&view=rev
Log:
[RAPPS]
- don't resize the richedit window on minimize
CORE-6116
Modified:
trunk/reactos/base/applications/rapps/winmain.c
Modified: trunk/reactos/base/applications/rapps/winmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
==============================================================================
--- trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] Sat Nov 1 12:43:45 2014
@@ -545,11 +545,14 @@
HIWORD(lParam) - GetWindowHeight(hToolBar) -
GetWindowHeight(hStatusBar),
SWP_NOZORDER|SWP_NOACTIVATE);
- while (NewPos < SPLIT_WIDTH + GetWindowHeight(hToolBar))
- {
- RichPos--;
- NewPos = HIWORD(lParam) - (RichPos +
- SPLIT_WIDTH + GetWindowHeight(hStatusBar));
+ if(wParam != SIZE_MINIMIZED)
+ {
+ while (NewPos < SPLIT_WIDTH + GetWindowHeight(hToolBar))
+ {
+ RichPos--;
+ NewPos = HIWORD(lParam) - (RichPos +
+ SPLIT_WIDTH + GetWindowHeight(hStatusBar));
+ }
}
SetHSplitterPos(NewPos);