747 questions with Windows App SDK tags

Sort by: Updated
1 answer

Where exactly can I find api-ms-win-core-console-l3-2-0.dll?

I've been looking left and right, here and there for the past 2 days trying to isolate/locate those dll files. But I cannot find it anywhere, none of the SDK have it anymore. I am trying to compile an app to work in Windows 7 environment (and possibility…

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.
747 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,499 questions
asked 2023-12-20T04:20:49.4466667+00:00
Eric To 0 Reputation points
commented 2023-12-26T08:17:08.9533333+00:00
RLWA32 42,476 Reputation points
2 answers

Generic.xaml - x:Bind with Converter binding

I have tried to create my own templated control that should work on x:Bind. By reading the offical document, I have created a code-behind Generic.xaml.cs file and referred it in App.xaml. When I use a converter inside my control, then it throws null…

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.
747 questions
asked 2023-12-20T18:24:50.85+00:00
guess_me_if_u_can 126 Reputation points
commented 2023-12-26T05:34:48.62+00:00
Xiaopo Yang - MSFT 12,151 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Difference between Segoe Fluent Icons and Segoe MDL2 Icons

i am reading MS Docs about Segoe Fluent Icons and Segoe MDL2 Icons, but i am a little confused. for example both docs says that they support PUA E700-E900 PUA EA00-EC00 PUA ED00-EF00 PUA F000-F200 PUA F300-F500 PUA F600-F800 and MDL2 included in…

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.
747 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,574 questions
asked 2023-12-25T16:02:15.3766667+00:00
Mahdi Hosseini 135 Reputation points
accepted 2023-12-26T04:08:47.3966667+00:00
Mahdi Hosseini 135 Reputation points
0 answers

WinUI3 - Strange top line when maximized window

Hello! When we set ExtendsContentIntoTitleBar to true in the application on Dark Mode, we have strange top line when we click to maximize window. This behavior occurs when the screen/monitor have Resolution 100%, 125% etc. I opened a issue in Microsoft's…

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.
747 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
asked 2023-12-18T17:37:19.0133333+00:00
LeonardodaCunhaMeloSantos-3381 0 Reputation points
edited a comment 2023-12-21T02:59:22.4266667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
0 answers

WinUI3 - Title bar without top line when High Contrast Mode

Hello! I need help about issue on WinUI Platform. When we set ExtendsContentIntoTitleBar to true in the MainWindow constructor to create custom TitleBar, we have strange behavior: On High Constrast mode, there's no top line in the window. There are some…

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.
747 questions
asked 2023-12-18T17:20:23.4433333+00:00
LeonardodaCunhaMeloSantos-3381 0 Reputation points
edited a comment 2023-12-21T02:57:43.9733333+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

WinUI3 - The "Close Button" hasn't Automation ID for inspection

Hello! Following the https://video2.skills-academy.com/en-us/windows/apps/develop/title-bar to create a custom titlebar and when ExtendsContentIntoTitleBar = true is setted, all the titlebar become a InputNonClientPointerSource area. This way is not possible…

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.
747 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
asked 2023-12-18T19:55:37.7733333+00:00
LeonardodaCunhaMeloSantos-3381 0 Reputation points
answered 2023-12-20T23:28:37.4133333+00:00
Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee
1 answer

How to debug WinUI 3 app?

I started a new project with the WinUI 3 desktop blank app template with the packaging project: I did not do anything with the code. When I start debugging (F5), I get the following System.DllNotFoundException: Could anyone offer a tip on its remedy?

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.
747 questions
asked 2023-12-19T14:03:59.68+00:00
Hong 1,206 Reputation points
commented 2023-12-20T12:03:00.7966667+00:00
Hong 1,206 Reputation points
1 answer

How to make Winui 3 window transparent?

hi, i want to make a transparent window, i used following codes: public static void SetTransparent(Window window, bool isTransparent) { var rgn = NativeMethods.CreateRectRgn(-2, -2, -1, -1); var dmw = new NativeValues.DWM_BLURBEHIND() { …

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.
747 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,574 questions
asked 2023-12-18T07:08:37.57+00:00
Mahdi Hosseini 135 Reputation points
commented 2023-12-19T10:54:07.3833333+00:00
Mahdi Hosseini 135 Reputation points
0 answers

Windows.Devices.Radios.StateChanged and BluetoothDevice.ConnectionStatusChanged events not triggering sometimes

I am developing a background service that communicates with a Bluetooth device. I have subscribed to Radio.StateChanged event of Radio object and it triggers fine when Bluetooth radio gets On / Off. But sometimes, that event is not triggering - that too…

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.
747 questions
asked 2023-12-04T08:01:05.24+00:00
Jis N George 0 Reputation points
commented 2023-12-19T09:40:25.24+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to customize file name of WinUI3 msix package?

I have a packaged WinUI3 project, I use "Package and publish“ menu create MSIX package, this is the result: My only question is the msix and cer file name change everytime when I created package, how can I customize the file name of msix and cer…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 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.
747 questions
asked 2023-12-13T07:19:08.3+00:00
aluzi liu 486 Reputation points
accepted 2023-12-13T09:53:03.8733333+00:00
aluzi liu 486 Reputation points
1 answer One of the answers was accepted by the question author.

Rainbow Border effect for Window Frame is missing some colors

i tried to port Windows Terminal Window rainbow border effect from here terminal codes is in c++ and i am working with c# and…

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.
747 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,574 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2023-12-04T16:02:31.42+00:00
Mahdi Hosseini 135 Reputation points
accepted 2023-12-07T10:05:15.7533333+00:00
Mahdi Hosseini 135 Reputation points
1 answer One of the answers was accepted by the question author.

WinUI3 : How to get Width/ Height of the windows default border and titlebar

Hi, I'm working on WinUI3 desktop application in c++ without using XAML. After creating the WinUi3 window, I set its height and width with SetWindowPos with (1000, 600) dimension. But when I get the Window.SizeChanged Event the Width and height will be…

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.
747 questions
asked 2023-12-05T09:38:05.5766667+00:00
Harshithraj1871 1,516 Reputation points
accepted 2023-12-06T04:54:31.9966667+00:00
Harshithraj1871 1,516 Reputation points
3 answers One of the answers was accepted by the question author.

How to fix AppWindow.TitleBar.SetDragRectangles not working in Windows App SDK 1.4.230822000?

As shown in the image, I wrote these codes, which contain AppWindow.TitleBar.SetDragRectangles, and I'm sure that this code is working correctly, but these codes are not doing what they are supposed to do. Why is this? I would like an answer from…

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.
747 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,574 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2023-09-08T03:59:06.27+00:00
Starcloudsea 60 Reputation points
commented 2023-12-06T01:55:35.4633333+00:00
Xiaopo Yang - MSFT 12,151 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to get DPI with WinUI 3?

DisplayInformation no longer has GetForCurrentView() that allows retrieving LogicalDpi. How can we obtain LogicalDpi with Win UI?

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.
747 questions
asked 2023-12-04T22:49:49.7933333+00:00
Hong 1,206 Reputation points
accepted 2023-12-05T03:43:38.3+00:00
Hong 1,206 Reputation points
1 answer One of the answers was accepted by the question author.

WinUI3 : How to use DispatcherQueue without Lambda function to exec a parameterized function

Hi, Im working on a WinUI3 desktop application in CPP without using XAML files. In my application, I'm using the Dispatcher queue to switch from the worker thread to the main thread. int winid = 1; DispatcherQueueHandler executeinstructiondispatch…

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.
747 questions
asked 2023-11-16T10:28:21.54+00:00
Harshithraj1871 1,516 Reputation points
accepted 2023-12-01T06:19:33.76+00:00
Harshithraj1871 1,516 Reputation points
0 answers

XAML Island : Unable to get CTRL + Q in ProcessKeyboardAccelerators event for TextBox when ProcessKeyboardAccelerators event is attached to is parent container

Hi, I'm working on Xaml Island in cpp. I wanted to catch CTRL + Q pressed for my whole application(As a global HotKey). I attached ProcessKeyboardAccelerators event to the top most container and tried catching the Accelerator pressed. I was able to…

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.
747 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,499 questions
asked 2023-11-22T08:58:33.49+00:00
Harshithraj1871 1,516 Reputation points
commented 2023-12-01T06:17:50.7466667+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can not use direct2d in winui3?

m_pRenderTarget->BeginDraw(); m_pRenderTarget->SetTransform(D2D1::Matrix3x2F::Identity()); m_pRenderTarget->Clear(D2D1::ColorF(D2D1::ColorF::DeepSkyBlue)); m_pRenderTarget->EndDraw(); in winform I can get the result. but in winui3 nothing…

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.
747 questions
asked 2023-11-29T07:54:03.7233333+00:00
mc 4,026 Reputation points
accepted 2023-11-30T08:59:41.8633333+00:00
mc 4,026 Reputation points
1 answer

How to handle system wake events in Winui 3

How can I handle the system wake events so in WinUI 3 with .net 8? If the application I'm developing happens to be running when the system goes to sleep, I would like to run some code to refresh some stale data when the system wakes up.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 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.
747 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,792 questions
asked 2023-11-30T00:51:19.4866667+00:00
Mike Conley 0 Reputation points
answered 2023-11-30T07:52:26.6033333+00:00
Castorix31 82,751 Reputation points
1 answer

Is it possible to make a modern looking UI with Win32 and C++?

Hi, I'm new to Windows development, reading the docs and getting lost. My goal is to port a drawing and painting app that I made on macOS. I will use unmanaged C++ and low level graphics APIs like Direct3D/2D. On the Mac I did the same with Metal, and…

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.
747 questions
asked 2023-11-18T22:49:03.9766667+00:00
Robert N 0 Reputation points
edited a comment 2023-11-30T06:52:09.33+00:00
Xiaopo Yang - MSFT 12,151 Reputation points Microsoft Vendor
0 answers

this randomAccessStream does not support the GetInputStreamAt method because it requires cloning and this stream does not support cloning.

does not support the GetInputStreamAt method because it requires cloning and this stream does not support cloning. how to create IRandomAccessStream that support this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 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.
747 questions
asked 2023-11-17T04:12:08.0466667+00:00
mc 4,026 Reputation points
commented 2023-11-29T07:52:43.3166667+00:00
mc 4,026 Reputation points