mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-02-04 03:33:04 +00:00
move some to lowlevel
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@675 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -691,3 +691,10 @@ char* MwLLGetClipboard(MwLL handle) {
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
void MwLLMakeToolWindow(MwLL handle) {
|
||||
LPARAM lp = GetWindowLongPtr(handle->hWnd, GWL_STYLE) & WS_VISIBLE;
|
||||
|
||||
SetWindowLongPtr(handle->hWnd, GWL_STYLE, (LPARAM)lp);
|
||||
SetWindowLongPtr(handle->hWnd, GWL_EXSTYLE, (LPARAM)WS_EX_TOOLWINDOW);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user