897 questions with Windows development | Windows App SDK tags

Sort by: Updated
1 answer

Which UWP controls can be used in XAML islands?

Some of them work nicely. Button, StackPanel, TextBlock, CheckBox, OK. Some of them do not work, they simply throw when their XML is loaded. For example TeachingTip, with or without the muxc: namespace. WebView also doesn't load. <WebView…

Developer technologies | Windows Presentation Foundation
Windows development | Windows App SDK
Developer technologies | C++
asked 2021-10-06T20:37:29.837+00:00
Michael Chourdakis 66 Reputation points
commented 2021-11-14T07:54:50.4+00:00
Castorix31 90,686 Reputation points
0 answers

Simple package, complicated packaging

I have a a pwd package written in Java that I want published in MS Store. I have never packaged anything so this is my 1st time here and have many questions, but I'll start small. What is the best & easiest way to "package" several JAVA…

Windows development | Windows App SDK
asked 2021-11-12T17:04:32.797+00:00
Robert Glover 1 Reputation point
1 answer

Want teaching tip to be present on top on my overlay window.

HI Help me to place the teaching to be present on top of the overlay window as show in the figure.

Windows development | Windows App SDK
asked 2021-11-10T13:13:02.167+00:00
MM, Sunil 86 Reputation points
answered 2021-11-10T16:10:13.67+00:00
Castorix31 90,686 Reputation points
1 answer

I need to develop a overlay on top of every application using WinUI3 and Win32.

HI Team, Could you please guide me to create a overlay which should appear on top of each and every application. I want overlay as in screen1. Which project should i select for development to create the overlay in the screen2. what is…

Windows development | Windows App SDK
asked 2021-11-08T11:09:26.927+00:00
MM, Sunil 86 Reputation points
answered 2021-11-08T11:13:28.6+00:00
Castorix31 90,686 Reputation points
2 answers

Implement over using WinUI3

Hi Team, I am new to WinUI3 development. Could you please help me to develop the overlay using the WinUI3. Regards, Sunil

Windows development | Windows App SDK
asked 2021-11-02T09:24:52.883+00:00
MM, Sunil 86 Reputation points
answered 2021-11-08T03:37:35.227+00:00
Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

Clipboard History not working after Windows 11 Update, any insights?

Clipboard History not working after Windows 11 Update, any insights?

Windows development | Windows App SDK
asked 2021-11-03T23:20:23.19+00:00
AC 36 Reputation points Microsoft Employee
answered 2021-11-06T14:03:33.18+00:00
Fahad Bin Hussain 16 Reputation points
0 answers

Microsoft Text to speech should stop when clicked on another page

Hi Good Morning- I am using text to speech azure cognitive services for text to speech and when the audio is playing on a page if user clicks on other page audio should stop in JavaScript Can you please explain how can I achieve …

Windows development | Windows App SDK
asked 2021-11-05T05:51:35.597+00:00
Varsha M 6 Reputation points
commented 2021-11-05T11:01:19.05+00:00
romungi-MSFT 48,916 Reputation points Microsoft Employee Moderator
0 answers

Convert WPF solution to winui3 + win32

HI Could you please guide me to convert the wpf application to WinUI3 + win32 application. I have wpf solution in hand. now i need to convert that solution to winui3. i have all the setup ready for winui3 development.

Windows development | Windows App SDK
asked 2021-11-04T09:51:40.393+00:00
MM, Sunil 86 Reputation points
1 answer One of the answers was accepted by the question author.

Linking of static library built with VS2019 to an application which is being built with VS2015

The requirement is that the static library built with VS-20XY needs to be linked successfully for building an application using either VS2015, VS2017 or VS2019. What is suitable version of VS-20XY?(considering End of life and version compatibility) …

Windows development | Windows App SDK
Windows development | Windows API - Win32
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
Community Center | Not monitored
asked 2021-11-02T09:47:05.827+00:00
Vinay Kumar L 21 Reputation points
accepted 2021-11-04T04:41:42.007+00:00
Vinay Kumar L 21 Reputation points
0 answers

Can a value be set on a Variable Font's set of available AXIS(s), programmatically, using managed code (C#)?

Can a value be set on a Variable Font's set of available AXIS(s), programmatically, using managed code (C#)? Like in a TextBlock control used in XAML. I know how to do this with Fonts in CSS and HTML5, but don't know if .NET5 (WinUI 3) is set up to…

Windows development | Windows App SDK
Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-10-07T03:41:31.13+00:00
Kenny Brown 51 Reputation points
commented 2021-11-03T08:31:09.953+00:00
Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
1 answer

WinUI3 / XAML - "This element is already associated with a XamlRoot..."

hi... I started working with WinUI3 and together with that I started working with XAML. Now... as long as I can use XAML to define everything and only implement the callbacks from buttons and things like that it works just fine. But now I want to create…

Windows development | Windows App SDK
asked 2021-10-19T12:15:46.49+00:00
Rudolf Meier 291 Reputation points
commented 2021-11-03T08:17:57.51+00:00
Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
1 answer

Printing a file in Windows App SDK (tested printing thought processstartinfo with verb print) its not working

I am migrating my app from UWP to WinUI 3 in Desktop with windows app sdk. I used to print using print manager in uwp. So printing a file in Windows App SDK by printing thought processstartinfo with verb "print" its not working. is this a…

Windows development | Windows App SDK
asked 2021-10-28T06:33:30.687+00:00
Vignesh Govindhan 26 Reputation points
answered 2021-10-28T08:50:21.153+00:00
Castorix31 90,686 Reputation points
0 answers

How to create a ThumbnailProvider with IInitializeWithFile

I started with the RecipeThumbnailProvider sample described here: https://learn.microsoft.com/en-us/windows/win32/shell/building-thumbnail-providers For my use case, I need the path to the file rather than the stream, so I tried to tweak the sample…

Windows development | Windows App SDK
Developer technologies | C++
asked 2021-10-26T17:11:13.383+00:00
Amber Ream 1 Reputation point
commented 2021-10-26T18:02:24.553+00:00
SM 416 Reputation points
3 answers One of the answers was accepted by the question author.

How to list all physical drives and find there drive letter?

What I am doing is, to help users (me) to find the raw data sdcard (its physical drive no). and to warn them (me) not to WRITE any thing on that drive letter. for finding part, I have done this: for (1 to 10) { …

Windows development | Windows App SDK
asked 2021-10-22T06:25:24.797+00:00
HUANG da 21 Reputation points
answered 2021-10-26T05:59:58.033+00:00
HUANG da 21 Reputation points
1 answer

Does winui 3 desktop application support "Windows.ApplicationModel.Email"?

Hello everyone, In uwp, using the following code to achieve the mail function works very well. var emailMessage = new Windows.ApplicationModel.Email.EmailMessage(); var email = new ContactEmail() …

Windows development | Windows App SDK
asked 2021-10-17T04:36:18.273+00:00
Singh Wong 51 Reputation points
commented 2021-10-17T08:58:55.403+00:00
Castorix31 90,686 Reputation points
0 answers

Type parallax view does not support direct content

Anyone please help me to resolve the below Issue, Which I facing when Tried to use ParallaxView control in Grid. Code snippet : Package references : Please find the above screenshot for the issue. When tried to use the…

Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Developer technologies | C#
asked 2021-10-04T14:38:12.593+00:00
Dhanushkumar 1 Reputation point
commented 2021-10-12T07:44:59.797+00:00
Anonymous
2 answers

BCryptEncrypt API failing for AES-128-CFB-128 when the input plaintext is size is not multiple of 16 and padding is off

I trying to encrypt the data with AES-128-CFB-128 using BCryptEncrypt API but API is failing when input plaintext is size is not multiple of 16 and padding is off with error 0xc0000206/STATUS_INVALID_BUFFER_SIZE. AES-CFB encryption is self-synchronizing…

Windows development | Windows App SDK
Windows development | Windows API - Win32
asked 2021-10-06T11:53:51.17+00:00
Pavan 101 Reputation points
commented 2021-10-11T06:57:42.35+00:00
Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
0 answers

WHAT IS THE PROPER WAY TO CODE A CLASS LIBRARY, IN VISUAL STUDIO 2022 PREVIEW (or 2019), THAT NEEDS TO USE C++ (to access DWriteCore) FROM MANAGED CODE (C#) ?

WHAT IS THE PROPER WAY TO CODE A CLASS LIBRARY, IN VISUAL STUDIO 2022 PREVIEW (or 2019), THAT NEEDS TO USE C++ (to access DWriteCore) FROM MANAGED CODE (C#) ? Is DWriteCore just for CPP apps? Will a Managed Code implementation of the interface be…

Windows development | Windows App SDK
Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | Other
Developer technologies | C#
asked 2021-10-05T06:53:03.853+00:00
Kenny Brown 51 Reputation points
commented 2021-10-06T10:40:10.33+00:00
Kenny Brown 51 Reputation points
0 answers

How do I reference a Class Library (WinUI 3 Desktop) in Solution_AAA from Solution_BBB?

How do I reference a Class Library (WinUI 3 Desktop) in Solution_AAA from Solution_BBB? I generated a C# projection from a C++/WinRT component to distribute as a NuGet package for .NET 5+ applications and need to use it in a WinUI 3 Desktop App that is…

Windows development | Windows App SDK
Developer technologies | C#
asked 2021-10-03T11:55:01.967+00:00
Kenny Brown 51 Reputation points
commented 2021-10-05T03:48:42.897+00:00
Kenny Brown 51 Reputation points
1 answer

Impact of uiaccess = true on dlls?

We are planning to update an Exe to uiaccess = true and moving to the secure location. a. Is it required to move the dependent dlls too? b. Did we need to sign and create uiaccess = true manifest for these GUI dlls?

Developer technologies | Windows Presentation Foundation
Windows development | Windows App SDK
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
asked 2021-09-29T13:54:26.643+00:00
Vishnu Gopalakrishnan 126 Reputation points
commented 2021-09-30T08:23:38.86+00:00
RLWA32 49,666 Reputation points