Skip to content

Commit

Permalink
added _windowProperties override (#14649)
Browse files Browse the repository at this point in the history
  • Loading branch information
Basnederveen authored and maxkatz6 committed Feb 20, 2024
1 parent 04d9d37 commit 027d1ea
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/Windows/Avalonia.Win32/EmbeddedWindowImpl.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Avalonia.Platform;
using Avalonia.Controls;
using Avalonia.Win32.Interop;

namespace Avalonia.Win32
{
class EmbeddedWindowImpl : WindowImpl
{
public EmbeddedWindowImpl()
{
_windowProperties = new WindowProperties
{
ShowInTaskbar = false,
IsResizable = false,
Decorations = SystemDecorations.None
};
}

protected override IntPtr CreateWindowOverride(ushort atom)
{
var hWnd = UnmanagedMethods.CreateWindowEx(
Expand Down

0 comments on commit 027d1ea

Please sign in to comment.