SF Vip plejer

Učlanjen(a)
12.04.2022
Poruka
28
@salezli So I've been able to fix that on my system using this dirty patch. This way it works properly for me with the themes service disabled.
Up to you if you want to implement this for others.
This is the code inside the fix.dll file
C#:
            double snugContentWidth = Screen.PrimaryScreen.Bounds.Width;
            double snugContentHeight = Screen.PrimaryScreen.Bounds.Height;

            var horizontalBorderHeight = SystemParameters.ResizeFrameHorizontalBorderHeight;
            var verticalBorderWidth = SystemParameters.ResizeFrameVerticalBorderWidth;
            var captionHeight = SystemParameters.CaptionHeight;

            WindowStyle = WindowStyle.None;
            Top = -2;
            Left = -2;
            Topmost = true;
            Width = snugContentWidth + 2 * verticalBorderWidth;
            Height = snugContentHeight + captionHeight + 2 * horizontalBorderHeight;
 

Prilozi

  • fix.zip
    145,1 KB · Pregleda: 38
VIP IPTV
Učlanjen(a)
16.06.2010
Poruka
916
@salezli So I've been able to fix that on my system using this dirty patch. This way it works properly for me with the themes service disabled.
Up to you if you want to implement this for others.
This is the code inside the fix.dll file
C#:
            double snugContentWidth = Screen.PrimaryScreen.Bounds.Width;
            double snugContentHeight = Screen.PrimaryScreen.Bounds.Height;

            var horizontalBorderHeight = SystemParameters.ResizeFrameHorizontalBorderHeight;
            var verticalBorderWidth = SystemParameters.ResizeFrameVerticalBorderWidth;
            var captionHeight = SystemParameters.CaptionHeight;

            WindowStyle = WindowStyle.None;
            Top = -2;
            Left = -2;
            Topmost = true;
            Width = snugContentWidth + 2 * verticalBorderWidth;
            Height = snugContentHeight + captionHeight + 2 * horizontalBorderHeight;
update multi monitor support
C#:
var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(this.Left, this.Top)).Bounds;
Top = bounds.Top;
Left = bounds.Left;
Width = bounds.Width;
Height = bounds.Height;
 
Učlanjen(a)
12.04.2022
Poruka
28
update multi monitor support
I have here only single monitor connected so cannot test on multiple ones, but with single one your code with little modifications as well works for me:
C#:
WindowStyle = WindowStyle.None;
Top = 0;
Left = 0;
var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(Convert.ToInt32(this.Left), Convert.ToInt32(this.Top))).Bounds;
Top = bounds.Top-2;
Left = bounds.Left-2;
Width = bounds.Width+2;
Height = bounds.Height+2;
 
VIP IPTV
Učlanjen(a)
16.06.2010
Poruka
916
I have here only single monitor connected so cannot test on multiple ones, but with single one your code with little modifications as well works for me:
C#:
WindowStyle = WindowStyle.None;
Top = 0;
Left = 0;
var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(Convert.ToInt32(this.Left), Convert.ToInt32(this.Top))).Bounds;
Top = bounds.Top-2;
Left = bounds.Left-2;
Width = bounds.Width+2;
Height = bounds.Height+2;
update v1.2.3.9 - fixed full screen
 
Učlanjen(a)
27.04.2022
Poruka
3
Pozdrav. Odličan player
2 pitanja
Dali je moguće mjenjati sliku korisnika umjesto onog čovječuljka
i dali je moguće snimati u MKV format ?
Hvala i oprostite ako je pitanje bilo
 
Učlanjen(a)
27.04.2022
Poruka
3
Nisam toliko stručan
Nešto sam googlao ali sve ima nekakve limite ili nekakv logo u programima što sam pročitao
:)
 
Natrag
Top