ui/winui/App.xaml.h

Tue, 06 Feb 2024 10:09:10 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 06 Feb 2024 10:09:10 +0100
branch
newapi
changeset 244
33c0a3797a0d
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

add function for creating windows without menu/toolbar (WinUI3)

// Copyright (c) Microsoft Corporation and Contributors.
// Licensed under the MIT License.

#pragma once

#include "App.xaml.g.h"

namespace winrt::winui::implementation
{
    struct App : AppT<App>
    {
        App();

        void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&);

    private:
        winrt::Microsoft::UI::Xaml::Window window{ nullptr };
    };
}

mercurial