mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
Work around for ROS to display the Explorer Rebar control
svn path=/trunk/; revision=21011
This commit is contained in:
parent
9aa40d6a75
commit
f1418c491d
1 changed files with 7 additions and 2 deletions
|
@ -298,9 +298,14 @@ bool MainFrameBase::ProcessMessage(UINT nmsg, WPARAM wparam, LPARAM lparam, LRES
|
|||
case WM_DESTROY:
|
||||
break;
|
||||
|
||||
case WM_SIZE:
|
||||
case WM_SIZE:
|
||||
#ifdef _ROS_ ///@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));
|
||||
break; // do not pass message to DefFrameProc
|
||||
#endif
|
||||
break; // do not pass message to DefFrameProc
|
||||
|
||||
case WM_GETMINMAXINFO: {
|
||||
LPMINMAXINFO lpmmi = (LPMINMAXINFO)lparam;
|
||||
|
|
Loading…
Reference in a new issue