Unable to hide toolbar when ActiveX loads
Posted: 22 Nov 2016 14:26
Hi,
I have vlc ActiveX control embedded in my own ActiveX control. I need to have toolbar always invisible.
This is my code:
Toolbar is still visible when control shows up. When I take the mouse pointer away, toolbar hides itself after few seconds and doesn't show up again. What can I do to prevent it showing from the start?
I have vlc ActiveX control embedded in my own ActiveX control. I need to have toolbar always invisible.
This is my code:
Code: Select all
_vlcControl = new AxVLCPlugin2();
_vlcControl.BeginInit();
_vlcControl.Enabled = true;
_vlcControl.Location = new Point(0, 0);
_vlcControl.Name = VlcControlName;
_vlcControl.Size = parentControl.Size;
_vlcControl.TabIndex = 0;
_vlcControl.MediaPlayerEndReached += (sender, args) => UpdateRtspStream();
_vlcControl.EndInit();
parentControl.Controls.Add(_vlcControl);
_vlcControl.Toolbar = false;
_vlcControl.FullscreenEnabled = false;