mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
correct comments
svn path=/trunk/; revision=8242
This commit is contained in:
parent
faf755d78e
commit
d406d24f29
5 changed files with 8 additions and 8 deletions
|
@ -365,7 +365,8 @@ void FileChildWindow::resize_children(int cx, int cy)
|
|||
if (_left_hwnd)
|
||||
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, _right_hwnd, 0, rt.left+cx+1, rt.top, rt.right-cx, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);
|
||||
if (_right_hwnd)
|
||||
hdwp = DeferWindowPos(hdwp, _right_hwnd, 0, rt.left+cx+1, rt.top, rt.right-cx, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);
|
||||
|
||||
EndDeferWindowPos(hdwp);
|
||||
}
|
||||
|
|
|
@ -666,8 +666,6 @@ int MainFrame::Command(int id, int code)
|
|||
|
||||
void MainFrame::resize_frame_rect(PRECT prect)
|
||||
{
|
||||
int new_top;
|
||||
|
||||
if (IsWindowVisible(_htoolbar)) {
|
||||
SendMessage(_htoolbar, WM_SIZE, 0, 0);
|
||||
ClientRect rt(_htoolbar);
|
||||
|
@ -678,7 +676,7 @@ void MainFrame::resize_frame_rect(PRECT prect)
|
|||
if (IsWindowVisible(_hdrivebar)) {
|
||||
SendMessage(_hdrivebar, WM_SIZE, 0, 0);
|
||||
ClientRect rt(_hdrivebar);
|
||||
new_top = --prect->top + rt.bottom+3;
|
||||
int new_top = --prect->top + rt.bottom+3;
|
||||
MoveWindow(_hdrivebar, 0, prect->top, rt.right, new_top, TRUE);
|
||||
prect->top = new_top;
|
||||
// prect->bottom -= rt.bottom+2;
|
||||
|
|
|
@ -503,7 +503,7 @@ LRESULT ChildWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
|
||||
void ChildWindow::resize_children(int cx, int cy)
|
||||
{
|
||||
HDWP hdwp = BeginDeferWindowPos(4);
|
||||
HDWP hdwp = BeginDeferWindowPos(2);
|
||||
RECT rt;
|
||||
|
||||
rt.left = 0;
|
||||
|
@ -520,7 +520,8 @@ void ChildWindow::resize_children(int cx, int cy)
|
|||
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);
|
||||
if (_right_hwnd)
|
||||
hdwp = DeferWindowPos(hdwp, _right_hwnd, 0, rt.left+cx+1, rt.top, rt.right-cx, rt.bottom-rt.top, SWP_NOZORDER|SWP_NOACTIVATE);
|
||||
|
||||
EndDeferWindowPos(hdwp);
|
||||
}
|
||||
|
|
|
@ -265,7 +265,7 @@ struct IconWindowClass : public WindowClass
|
|||
#define COLOR_SPLITBAR LTGRAY_BRUSH
|
||||
|
||||
|
||||
/// menu info structure for MDI child windows
|
||||
/// menu info structure
|
||||
struct MenuInfo
|
||||
{
|
||||
HMENU _hMenuView;
|
||||
|
|
|
@ -3670,7 +3670,7 @@ void explorer_show_frame(HWND hwndParent, int cmdshow)
|
|||
|
||||
for(p=Globals.drives; *p; ) {
|
||||
#ifdef _NO_EXTENSIONS
|
||||
/* insert drive letter */
|
||||
/* insert drive letter */
|
||||
TCHAR b[3] = {tolower(*p)};
|
||||
SendMessage(Globals.hdrivebar, TB_ADDSTRING, 0, (LPARAM)b);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue