misc
This commit is contained in:
@@ -392,5 +392,10 @@ namespace mpvnet
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void ShowCommandPalette()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -349,14 +349,18 @@ namespace mpvnet
|
|||||||
{
|
{
|
||||||
WindowHandle = Native.FindWindowEx(MainForm.Hwnd, IntPtr.Zero, "mpv", null);
|
WindowHandle = Native.FindWindowEx(MainForm.Hwnd, IntPtr.Zero, "mpv", null);
|
||||||
|
|
||||||
int GWL_STYLE = -16;
|
if (WindowHandle != IntPtr.Zero)
|
||||||
uint WS_CHILD = 0x40000000;
|
{
|
||||||
uint WS_VISIBLE = 0x10000000;
|
int GWL_STYLE = -16;
|
||||||
uint WS_DISABLED = 0x08000000;
|
|
||||||
uint WS_CLIPSIBLINGS = 0x04000000;
|
|
||||||
|
|
||||||
Native.SetWindowLong(WindowHandle, GWL_STYLE,
|
uint WS_CHILD = 0x40000000;
|
||||||
WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_CLIPSIBLINGS);
|
uint WS_CLIPSIBLINGS = 0x04000000;
|
||||||
|
uint WS_DISABLED = 0x08000000;
|
||||||
|
uint WS_VISIBLE = 0x10000000;
|
||||||
|
|
||||||
|
Native.SetWindowLong(WindowHandle, GWL_STYLE,
|
||||||
|
WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_CLIPSIBLINGS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user