Hello,
I am using libvlc in vc++.I want to hide the title bar from VLC Output Window(VLC 3D Direct OUTPUT). Can we hide or remove this title bar?
Code: Select all
foreach (var handle in EnumerateProcessWindowHandles(Process.GetCurrentProcess().Id))
{
StringBuilder message = new StringBuilder(1000);
SendMessage(handle, WM_GETTEXT, message.Capacity, message);
if (message.ToString().Equals("VLC (Direct3D11 output)"))
{
var style = (SetWindowLongFlags)GetWindowLong(handle, WindowLongIndexFlags.GWL_STYLE);
style &= ~SetWindowLongFlags.WS_BORDER;
SetWindowLong(handle, WindowLongIndexFlags.GWL_STYLE, style);
}
}
Return to “Development around libVLC”
Users browsing this forum: No registered users and 21 guests