mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 22:02:29 +00:00
It looked like we could get away with removing this hack, but it seems it still causes painting problems when increasing the width. No time to investigate at the moment. (anyone else wanna take a look?)
svn path=/trunk/; revision=36668
This commit is contained in:
parent
0f3e8477e1
commit
5951657051
1 changed files with 9 additions and 2 deletions
|
@ -306,8 +306,15 @@ bool MainFrameBase::ProcessMessage(UINT nmsg, WPARAM wparam, LPARAM lparam, LRES
|
|||
break;
|
||||
|
||||
case WM_SIZE: {
|
||||
resize_frame(LOWORD(lparam), HIWORD(lparam));
|
||||
SendMessage(_hwndrebar, WM_SIZE, 0, 0);
|
||||
#ifdef __REACTOS__ ///@todo Work around to display rebar in ROS (with flickering) as long as the control isn't fixed
|
||||
int height = SendMessage(_hwndrebar, RB_GETBARHEIGHT, 0, 0);
|
||||
MoveWindow(_hwndrebar, 0, 0, LOWORD(lparam), height, TRUE);
|
||||
#else
|
||||
resize_frame(LOWORD(lparam), HIWORD(lparam));
|
||||
SendMessage(_hwndrebar, WM_SIZE, 0, 0);
|
||||
#endif
|
||||
|
||||
|
||||
break;} // do not pass message to DefFrameProc
|
||||
|
||||
case WM_GETMINMAXINFO: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue