fix stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@678 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
fef5fceea9
commit
7446ae3dee
2 changed files with 6 additions and 1 deletions
|
|
@ -694,7 +694,12 @@ char* MwLLGetClipboard(MwLL handle) {
|
|||
|
||||
void MwLLMakeToolWindow(MwLL handle) {
|
||||
LPARAM lp = GetWindowLongPtr(handle->hWnd, GWL_STYLE) & WS_VISIBLE;
|
||||
RECT rc;
|
||||
|
||||
SetWindowLongPtr(handle->hWnd, GWL_STYLE, (LPARAM)lp);
|
||||
SetWindowLongPtr(handle->hWnd, GWL_EXSTYLE, (LPARAM)WS_EX_TOOLWINDOW);
|
||||
|
||||
GetClientRect(handle->hWnd, &rc);
|
||||
|
||||
SetWindowPos(handle->hWnd, NULL, 0, 0, rc.right - rc.left, rc.bottom - rc.top, SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue