Implemented control panel window in cabinet view mode.

svn path=/trunk/; revision=5900
This commit is contained in:
Martin Fuchs 2003-08-28 19:13:48 +00:00
parent 7a0c1b40d1
commit d1a58a026b
5 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
* subsys/system/explorer/taskbar/startmenu.cpp,
subsys/system/explorer/shell/shellbrowser.cpp:
Implemented control panel window in cabinet view mode.
2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Support creating compressed bootable CDs.

View file

@ -29,3 +29,4 @@
added romanian translation of Ciobanu Alexander
26.08.2003 m. fuchs implemented tooltips and launching of date/time control panel applet for clock display
27.08.2003 m. fuchs partly implemented control panel window
28.08.2003 m. fuchs control panel window in cabinet view mode

View file

@ -96,7 +96,7 @@ void explorer_show_frame(HWND hwndDesktop, int cmdshow)
UpdateWindow(hwndFrame);
// Open the first child window after initializing the whole application
PostMessage(hwndFrame, PM_OPEN_WINDOW, 0, 0);
PostMessage(hwndFrame, PM_OPEN_WINDOW, TRUE/*mode_explore*/, 0);
}

View file

@ -660,7 +660,7 @@ int StartMenuRoot::Command(int id, int code)
CloseStartMenu(id);
HWND hwndFrame = MainFrame::Create();
ShowWindow(hwndFrame, SW_SHOW);
SendMessage(hwndFrame, PM_OPEN_WINDOW, 0, (LPARAM)_T("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"));
SendMessage(hwndFrame, PM_OPEN_WINDOW, FALSE/*mode_explore*/, (LPARAM)_T("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"));
break;}
case IDC_FAVORITES:

View file

@ -374,9 +374,14 @@ void ChildWindow::resize_children(int cx, int cy)
rt.right = cx;
rt.bottom = cy;
if (_left_hwnd) {
cx = _split_pos + SPLIT_WIDTH/2;
hdwp = DeferWindowPos(hdwp, _left_hwnd, 0, rt.left, rt.top, _split_pos-SPLIT_WIDTH/2-rt.left, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);
} else {
_split_pos = 0;
cx = 0;
}
hdwp = DeferWindowPos(hdwp, _right_hwnd, 0, rt.left+cx+1, rt.top, rt.right-cx, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);