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…
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…
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…
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…
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…
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 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…
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…
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…
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…
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, …
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…
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…
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…
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> …
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…
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…
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,
Best practices for handling resources (.resw) that need to be formatted
I have resources like Formatted by {0} on x Approach #1 In the backend (.cs file), we create a parameter like so: string FormattedString = string.format(getResource("abc"), userId); and use the FormmatedString directly in the xaml file. …
Package missing in offline source
Microsoft.Windows.SDK.NET.Ref Microsoft.AspNetCore.App.Runtime.win-x64 Microsoft.WindowsDesktop.App.Runtime.win-x64 Microsoft.NETCore.App.Runtime.win-x64 so i am new to winui and i just installed the required things for winui desktop i installed…