mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
fix stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@678 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user