mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Fixed DHCtrl Show/Hide
git-svn-id: svn://ultimatepp.org/upp/trunk@545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a2c23c6e41
commit
bcf3bec0cf
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue