725 questions with Windows App SDK tags

Sort by: Updated
1 answer

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.
725 questions
asked 2024-04-24T11:53:52.3266667+00:00
Sunil A M 171 Reputation points
commented 2024-04-25T03:07:32.83+00:00
Sunil A M 171 Reputation points
0 answers

How to use C++/WinRt API like as part of DLL without user interface(UI)

Hi, I am attempting to utilize the C++/WinRT code provided in the sample of LampArray, cppwinrt to create a DLL. However due to the tight coupling of this sample with the UI, I am not able to use below API independently within my DLL code, without…

Universal Windows Platform (UWP)
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.
725 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,420 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,526 questions
asked 2024-04-23T06:41:57.05+00:00
sunil maurya 21 Reputation points
commented 2024-04-24T13:44:31.52+00:00
sunil maurya 21 Reputation points
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.
725 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,420 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,526 questions
asked 2024-04-24T06:38:51.75+00:00
Rohan Pande 245 Reputation points
accepted 2024-04-24T10:26:24.1966667+00:00
Rohan Pande 245 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.
725 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,150 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,336 Reputation points Microsoft Vendor
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.
725 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,526 questions
asked 2024-04-18T11:28:49.1633333+00:00
Rohan Pande 245 Reputation points
answered 2024-04-22T08:11:31.49+00:00
Xiaopo Yang - MSFT 11,336 Reputation points Microsoft Vendor
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.
725 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 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.
725 questions
asked 2024-04-05T12:30:42.7066667+00:00
Harshithraj1871 1,496 Reputation points
accepted 2024-04-17T11:43:45.3466667+00:00
Harshithraj1871 1,496 Reputation points
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.
725 questions
asked 2024-04-16T09:52:20.51+00:00
Harshithraj1871 1,496 Reputation points
commented 2024-04-17T07:29:37.8666667+00:00
Harshithraj1871 1,496 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.
725 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,420 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.
725 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,860 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.
725 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 81,636 Reputation points
1 answer One of the answers was accepted by the question author.

Alternatives for the application to make it as a packaged application?

Hi, I am currently building a WinUI3 C++ application using Windows App SDK. But currently the application is unpackaged mode. I am currently thinking to shift to packaged mode as it is recommended by the Microsoft currently I have tried the sample…

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.
725 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,526 questions
asked 2024-03-13T04:17:56.3366667+00:00
Rohan Pande 245 Reputation points
commented 2024-04-12T05:12:00.36+00:00
Rohan Pande 245 Reputation points
1 answer

How to fix the error that occurs when executing the GenerateTemporaryTargetAssembly task

When creating an sdk project with wpf elements, the error Could not copy the file ProjectName.csproj.nuget.dgspec.json occurs when building on the server. I see that the files csproj.nuget.g.props and nuget.g.targets are created and copied, but the file…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 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.
725 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,234 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,954 questions
asked 2023-09-22T15:39:23.6633333+00:00
Danila 25 Reputation points
commented 2024-04-10T21:46:54.18+00:00
Suchy, Joe 0 Reputation points
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.
725 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,420 questions
asked 2024-04-09T12:49:16.9433333+00:00
Shyam Butani 20 Reputation points
answered 2024-04-10T02:03:21.4366667+00:00
Xiaopo Yang - MSFT 11,336 Reputation points Microsoft Vendor
0 answers

System Exception thrown when changing focus on screens when debuging run program in Visual Studio

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) in VisualStudio. I have two screens on 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.
725 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,234 questions
asked 2024-03-20T18:43:30.7933333+00:00
Paul Harvey Chiverton Messina 5 Reputation points
edited the question 2024-04-09T08:40:21.75+00:00
Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
0 answers

To have a CustomPage instead of default Page for base of all pages in the application.

Instead of having the base Page for all the xaml page files, I need to have my CustomPage.xaml. I have created a CustomPage and had it as a base of my SettingsPage.xaml. It compiles successfully but throws a warning. Please check the code follows, using…

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.
725 questions
asked 2024-03-28T12:50:59.9466667+00:00
guess_me_if_u_can 126 Reputation points
commented 2024-04-09T02:18:24.1533333+00:00
Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
0 answers

Transition not working correctly in ListView and GridView (WinUI 3)

Hello, the transitions in a bound ListView and GridView are not working correctly, can you confirm this? (It is unchecked and uncoordinated, items are not added in order, especially when you reload them?) <ListView.ItemContainerTransitions> …

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.
725 questions
asked 2024-03-20T11:15:31.2233333+00:00
youki 996 Reputation points
commented 2024-04-09T02:18:11.79+00:00
Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
1 answer

Change image source in contentdialog title template winui c#

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope. I have…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 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.
725 questions
asked 2024-03-19T17:38:21.8233333+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:57.9133333+00:00
Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
1 answer

Serialdevice winui c# fire event when data received

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope and I am…

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.
725 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,234 questions
asked 2024-03-19T10:44:13.14+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:29.2233333+00:00
Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
0 answers

Is there a way to find the DownLoad folder programmatically?

You know, where remote systems put things when they don't give you a chance to tell them where to put them, The Environment.SpecialFolders enum doesn't see to have one,

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.
725 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,150 questions
asked 2024-03-16T20:19:05.3966667+00:00
Marc Graham 26 Reputation points
commented 2024-04-09T02:17:13.18+00:00
Roy Li - MSFT 31,766 Reputation points Microsoft Vendor