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…
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…
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…
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…
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…
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…
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?
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.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…
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…
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…
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…
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…
How to get DPI with WinUI 3?
DisplayInformation no longer has GetForCurrentView() that allows retrieving LogicalDpi. How can we obtain LogicalDpi with Win UI?
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…
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…
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…
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.
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…
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?