Fixed DHCtrl Show/Hide

git-svn-id: svn://ultimatepp.org/upp/trunk@545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-10-19 15:37:53 +00:00
parent a2c23c6e41
commit bcf3bec0cf

View file

@ -48,6 +48,7 @@ void DHCtrl::SyncHWND()
Rect pr = GetScreenClient(phwnd);
SetWindowPos(hwnd, NULL, r.left - pr.left, r.top - pr.top, r.Width(), r.Height(),
SWP_NOACTIVATE|SWP_NOZORDER);
ShowWindow(hwnd, IsVisible() ? SW_SHOW : SW_HIDE);
}
}