Module: wine Branch: master Commit: 92e412c5cbd3d8a29eab7da6567ad638e87f1bd9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=92e412c5cbd3d8a29eab7da656...
Author: Francois Gouget fgouget@free.fr Date: Thu Mar 31 12:42:20 2011 +0200
progman: Implement the cascade and tile windows menus.
---
programs/progman/main.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/programs/progman/main.c b/programs/progman/main.c index d76a079..e4383ea 100644 --- a/programs/progman/main.c +++ b/programs/progman/main.c @@ -296,6 +296,14 @@ static VOID MAIN_MenuCommand(HWND hWnd, WPARAM wParam, LPARAM lParam) break;
/* Menu Windows */ + case PM_OVERLAP: + SendMessageW(Globals.hMDIWnd, WM_MDICASCADE, 0, 0); + break; + + case PM_SIDE_BY_SIDE: + SendMessageW(Globals.hMDIWnd, WM_MDITILE, MDITILE_VERTICAL, 0); + break; + case PM_ARRANGE:
if (hActiveGroupWnd && !IsIconic(hActiveGroupWnd))