- cx = g_pChildWnd->nSplitPos + SPLIT_WIDTH/2;
- if (hdwp) hdwp = DeferWindowPos(hdwp, g_pChildWnd->hAddressBarWnd, 0, rt.left, rt.top, rt.right-rt.left - 2*tHeight, tHeight, SWP_NOZORDER|SWP_NOACTIVATE);
- if (hdwp) hdwp = DeferWindowPos(hdwp, g_pChildWnd->hAddressBtnWnd, 0, rt.right - 2*tHeight, rt.top, 2*tHeight, tHeight, SWP_NOZORDER|SWP_NOACTIVATE);
- if (hdwp) hdwp = DeferWindowPos(hdwp, g_pChildWnd->hTreeWnd, 0, rt.left, rt.top + tHeight+2, g_pChildWnd->nSplitPos-SPLIT_WIDTH/2-rt.left, rt.bottom-rt.top-cy, SWP_NOZORDER|SWP_NOACTIVATE);
- if (hdwp) hdwp = DeferWindowPos(hdwp, g_pChildWnd->hListWnd, 0, rt.left+cx, rt.top + tHeight+2, rt.right-cx, rt.bottom-rt.top-cy, SWP_NOZORDER|SWP_NOACTIVATE);
- if (hdwp) EndDeferWindowPos(hdwp);
+ cx = g_pChildWnd->nSplitPos + SPLIT_WIDTH / 2;
+ if (hdwp)
+ hdwp = DeferWindowPos(hdwp, g_pChildWnd->hAddressBarWnd, NULL,
+ rt.left, rt.top,
+ rt.right - rt.left - 2*tHeight, tHeight,
+ uFlags);
+ if (hdwp)
+ hdwp = DeferWindowPos(hdwp, g_pChildWnd->hAddressBtnWnd, NULL,
+ rt.right - 2*tHeight, rt.top,
+ 2*tHeight, tHeight,
+ uFlags);
+ if (hdwp)
+ hdwp = DeferWindowPos(hdwp, g_pChildWnd->hTreeWnd, NULL,
+ rt.left, rt.top + tHeight + 2,
+ g_pChildWnd->nSplitPos - SPLIT_WIDTH/2 - rt.left, rt.bottom - rt.top - cy,
+ uFlags);
+ if (hdwp)
+ hdwp = DeferWindowPos(hdwp, g_pChildWnd->hListWnd, NULL,
+ rt.left + cx, rt.top + tHeight + 2,
+ rt.right - cx, rt.bottom - rt.top - cy,
+ uFlags);
+ if (hdwp)
+ EndDeferWindowPos(hdwp);