mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-15 00:43:59 +08:00
rm
This commit is contained in:
parent
e5220a2314
commit
cb53b721fc
@ -8,14 +8,14 @@ DECLARE void showintab(HWND hwnd, bool show)
|
|||||||
if (show)
|
if (show)
|
||||||
{
|
{
|
||||||
style_ex |= WS_EX_APPWINDOW;
|
style_ex |= WS_EX_APPWINDOW;
|
||||||
if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW)
|
// if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW)
|
||||||
style_ex &= ~WS_EX_TOOLWINDOW;
|
// style_ex &= ~WS_EX_TOOLWINDOW;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
style_ex &= ~WS_EX_APPWINDOW;
|
style_ex &= ~WS_EX_APPWINDOW;
|
||||||
if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW)
|
// if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW)
|
||||||
style_ex |= WS_EX_TOOLWINDOW;
|
// style_ex |= WS_EX_TOOLWINDOW;
|
||||||
}
|
}
|
||||||
SetWindowLong(hwnd, GWL_EXSTYLE, style_ex);
|
SetWindowLong(hwnd, GWL_EXSTYLE, style_ex);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user