mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:05:42 +00:00
Implemented control panel window in cabinet view mode.
svn path=/trunk/; revision=5900
This commit is contained in:
parent
7a0c1b40d1
commit
d1a58a026b
5 changed files with 16 additions and 4 deletions
|
@ -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>
|
2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* Makefile: Support creating compressed bootable CDs.
|
* Makefile: Support creating compressed bootable CDs.
|
||||||
|
|
|
@ -29,3 +29,4 @@
|
||||||
added romanian translation of Ciobanu Alexander
|
added romanian translation of Ciobanu Alexander
|
||||||
26.08.2003 m. fuchs implemented tooltips and launching of date/time control panel applet for clock display
|
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
|
27.08.2003 m. fuchs partly implemented control panel window
|
||||||
|
28.08.2003 m. fuchs control panel window in cabinet view mode
|
||||||
|
|
|
@ -96,7 +96,7 @@ void explorer_show_frame(HWND hwndDesktop, int cmdshow)
|
||||||
UpdateWindow(hwndFrame);
|
UpdateWindow(hwndFrame);
|
||||||
|
|
||||||
// Open the first child window after initializing the whole application
|
// 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -660,7 +660,7 @@ int StartMenuRoot::Command(int id, int code)
|
||||||
CloseStartMenu(id);
|
CloseStartMenu(id);
|
||||||
HWND hwndFrame = MainFrame::Create();
|
HWND hwndFrame = MainFrame::Create();
|
||||||
ShowWindow(hwndFrame, SW_SHOW);
|
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;}
|
break;}
|
||||||
|
|
||||||
case IDC_FAVORITES:
|
case IDC_FAVORITES:
|
||||||
|
|
|
@ -374,9 +374,14 @@ void ChildWindow::resize_children(int cx, int cy)
|
||||||
rt.right = cx;
|
rt.right = cx;
|
||||||
rt.bottom = cy;
|
rt.bottom = cy;
|
||||||
|
|
||||||
cx = _split_pos + SPLIT_WIDTH/2;
|
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);
|
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);
|
hdwp = DeferWindowPos(hdwp, _right_hwnd, 0, rt.left+cx+1, rt.top, rt.right-cx, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue