581 questions with Windows App SDK tags

Sort by: Created
2 answers

Request targets an app that is not in allowed receiving apps list by WNS

Hello, I have a problem during sending WNS raw notifications to my app on client's computers. I receive this error sometimes, but not for all my clients: 2024-05-29 19:16:06.244 +02:00 [WRN] X-WNS-Debug-Trace: BY3PEPF000195A1 2024-05-29 19:16:06.245…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,492 questions
asked 2024-05-30T16:48:23.7+00:00
Michał Łeptuch 6 Reputation points
answered 2024-05-31T07:02:49.9666667+00:00
Neuvi Jiang 385 Reputation points Microsoft Vendor
1 answer

WinUI3 : How to close all the visible window at once

Hi, I'm working on a WinUI3 desktop application in C++. I'm building a multiwindow application. Is there a way to close all the window at once in WinUI3? One way is to maintain the List of windows ourselves, is there any other way to solve this? just…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-05-30T12:45:25.59+00:00
Harshithraj1871 1,516 Reputation points
edited a comment 2024-05-31T08:07:11.12+00:00
Harshithraj1871 1,516 Reputation points
1 answer One of the answers was accepted by the question author.

How to create a system notification with ultra long ellipses displayed

Hi I want to display all the text on the system notification, but extra long text shows ellipses. Also need to use line breaks to wrap the displayed text. The code is placed in the following link, and the commented out lines 133 and 134 are the desired…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,881 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-05-28T01:37:25.9666667+00:00
Thomas Zuo 25 Reputation points
accepted 2024-05-29T07:35:49.7466667+00:00
Thomas Zuo 25 Reputation points
1 answer

How can I change the border color of a NavigationView in WinUI 3?

Which property is it in the generic.xaml? I can't even find the TargetType. Lines within the red rectangles.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
773 questions
asked 2024-05-22T15:53:25.08+00:00
youki 996 Reputation points
commented 2024-05-24T01:57:17.5833333+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to receive WM_SETTINGCHANGE message in WinUI3 when system theme changes

Hi, I want to capture system theme change event in my WinUI3 app. I'm trying like below code snippet, but not receiving WM_SETTINGCHANGE message there. void TWWinUI3App::OnLaunched(LaunchActivatedEventArgs const&) { // ... Window window =…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-05-22T06:54:06.97+00:00
Shyam Butani 115 Reputation points
commented 2024-05-24T06:18:18.99+00:00
Shyam Butani 115 Reputation points
1 answer

How To Download .NET Runtime For MSIX Or Appx?

I Want To Use MSIX Hero On My PC And It Requires .NET Runtime 6.0 but i can run exe's for some reason i cant figure out. i am not looking into figure out how to run exes i just want to know or if there is a way do get .NET Runtime 6.0 for msix (bundle)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-05-20T20:10:07.3866667+00:00
QuickSilver 0 Reputation points
edited an answer 2024-05-31T06:53:20.3733333+00:00
Jeanine Zhang-MSFT 9,341 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Resizable UI Elements/containers in WinUI3

Hi, I am working on WinUI3 application, and doing everything programmatically (without XAML). When we create a window, we can click+drag the border/corner using mouse to resize it. I want similar thing for my UI elements inside window. Basically, I want…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-05-03T08:20:06.9166667+00:00
Shyam Butani 115 Reputation points
accepted 2024-05-06T05:22:49.36+00:00
Shyam Butani 115 Reputation points
1 answer

x:Bind default Mode is "OneTime" or sth else in Windows App SDK ?

I have written the code below: XAML code: <ListView ItemsSource="{x:Bind players}"> ***<ListView.ItemTemplate>*** ***<DataTemplate x:DataType="local:Numbers">*** ***<TextBlock…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,418 questions
asked 2024-04-28T01:44:47.1666667+00:00
Konstantinos Pavlis 0 Reputation points
commented 2024-04-29T09:18:15.2066667+00:00
Junjie Zhu - MSFT 15,991 Reputation points Microsoft Vendor
2 answers

Back Button click event is firing when we press "space" and "enter" key in the keyboard

Hi Team, I have a back button in my application to navigate back to the previous page. Currently when i press "Enter" or "Space" from the keyboard, The back button click event is firing.(which we are not expected) We need to back…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-24T11:53:52.3266667+00:00
Sunil A M 171 Reputation points
commented 2024-05-02T01:25:18.73+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Launching Windows Applications using Voice Assistants

Is there an alternative to Cortana on Windows that I can use to launch my applications using a voice command like "Open Abc App"? I have come across an application named "Voice Access," but I can't find any documentation on how to use…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2024-04-24T06:38:51.75+00:00
Rohan Pande 355 Reputation points
accepted 2024-04-24T10:26:24.1966667+00:00
Rohan Pande 355 Reputation points
1 answer

Keep lines, ellipses and polylines at the same position within an image during resizing (WinUI3)

Hello, Is there an easy way to achieve it in WinUI3? I have an image within a grid that is resizable manually and there are ellipses, lines and polylines which mark positions in the image. <Grid> <Image…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-18T22:09:16.7866667+00:00
youki 996 Reputation points
edited an answer 2024-04-20T23:15:16.3366667+00:00
youki 996 Reputation points
1 answer

Some doubts regarding after registering for WinUI3 packaged with external location app?

Hi, I was earlier creating a WinUI3 blank unpackaged app. Followed the steps here to make my solution from packaged to unpackaged application. In this project I have disabled the XAML code and created my own entry point (WinMain). Steps that I have…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2024-04-18T11:28:49.1633333+00:00
Rohan Pande 355 Reputation points
answered 2024-04-22T08:11:31.49+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Understanding Windows app tamper protection

Hi, I'm working on a WinUI3 desktop application in CPP. I'm building an application packaged with external location. There I read that What does tamper protection mean here? Does it mean it wont allow us to tamper with application's data and files? I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-16T09:52:20.51+00:00
Harshithraj1871 1,516 Reputation points
commented 2024-04-17T07:29:37.8666667+00:00
Harshithraj1871 1,516 Reputation points
1 answer One of the answers was accepted by the question author.

How do I download "Windows Media Device Manager 11 SDK" ?

Hi, I'm developing a device management application. I want to download "Windows Media Device Manager 11 SDK". https://learn.microsoft.com/en-us/windows/win32/wmdm/windows-media-device-manager-11-sdk But download link is broken. How do I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 questions
asked 2024-04-12T21:35:45.11+00:00
yukin y 20 Reputation points
commented 2024-04-15T12:18:39.2466667+00:00
yukin y 20 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Application exe in debug folder not working

After running th MAUI application in windows, I go to debug folder and tried to open the .exe application file but it's not responding. I noticed there is a createdump application file in the same path and my application file is also less size compared…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,012 questions
asked 2024-04-12T04:21:54.52+00:00
Vinothkumar Swaminathan 20 Reputation points
commented 2024-04-15T05:27:59.7166667+00:00
Vinothkumar Swaminathan 20 Reputation points
1 answer

Where can I find "api-ms-win-core-heap-l2-1-0.dll"?

My program uses LocalAlloc and LocalFree, but it reports an error on Windows 7 indicating that api-ms-win-core-heap-l2-1-0.dll is missing. I found information about LocalAlloc and LocalFree in this link…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-10T14:42:44.0166667+00:00
勇强 韩 136 Reputation points
edited an answer 2024-04-13T08:39:25.9466667+00:00
Castorix31 82,206 Reputation points
1 answer

Does Media Foundation interface IAudioMeterInformation supports audioformat MFAudioFormat_Float?

Hello, I'm working on a XAudio2 project. When loading a file, I convert the input audio format to an input format XAudio2 can work with. Those are, according the docs, MFAudioFormat_Float and MFAudioFormat_PCM. Now, when using PCM, …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,492 questions
asked 2024-04-09T19:52:55.07+00:00
FactoryX.code 0 Reputation points
answered 2024-04-24T03:00:20.34+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer

How to remove thin black border while printing bitmap in Win32 app

Hello, I'm working on C++/WinRT application, and trying to print bitmap using printer. But I'm getting thin black border on the printed page. I'm doing similar to below code snippet. // Printer HDC HDC hdc_printer = CreateDCW (NULL, L"My…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 questions
asked 2024-04-09T12:49:16.9433333+00:00
Shyam Butani 115 Reputation points
answered 2024-04-10T02:03:21.4366667+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Inconsistent behaviour of windows App SDK runtime Installer

Hi, I'm working on WinUI3 desktop application in C++. We are building a Framework dependent unpackaged desktop application with this we were able to generate a single EXE application. But here to run this WinUI3 application we need to install Windows App…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-05T12:30:42.7066667+00:00
Harshithraj1871 1,516 Reputation points
accepted 2024-04-17T11:43:45.3466667+00:00
Harshithraj1871 1,516 Reputation points
1 answer

Listview selection event event is firing when we click on scroll viewer

Hi Team, i am win ui3 application using windows app sdk version - 1.4.240 I have "list view" inside the "scroll viewer" control . List view - has selection changed event Problem : when i click on the scroll viewer, List view selection…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2024-04-05T06:37:57.6+00:00
Sunil A M 171 Reputation points
answered 2024-04-08T03:14:10.3933333+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor