progman: Implement the cascade and tile windows menus.
Francois Gouget
fgouget at free.fr
Thu Mar 31 05:42:20 CDT 2011
---
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))
--
1.7.4.1
More information about the wine-patches
mailing list