Marshalling Error for WinUI 3 Application
Hello. So I've been creating a WinUI 3 app C# in visual studio. For loading the list of installed fonts, I had to install Microsoft.Graphics.Win2D NuGet package. For that, it required me to update the NuGet packages of "WindowsAppSDK" and…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
How do I use resource files in a WinUI project
I'm trying to use the resource system in VS, but when I try to access a resource, it can't find it. Here's my setup... I have a WinUI project with a library DemoApp GfxToolkit In the GfxToolkit library project I have a resources file…
![](https://techprofile.blob.core.windows.net/images/GBSkt_2_AwAAAAAAAAAAAA.png?8D959C)
Will Voice Access work with SAPI.
I can't seem to get a proper response on what is happening with Speech Recognition. I use a complex speech command grammar that I use with programs developed for my music publishing business. That was defined using the Speech SDK and implemented via…
![](https://techprofile.blob.core.windows.net/images/1P-HevJX50CFOQJZsnsiMg.png?8D86C2)
HttpListener in WinUI app doesn't catch params in link
Hi! I try to get authorization code for Microsoft, using authorization via browser. I use HttpListener for catching redirect with code, but it's catch only redirect without parameters. In browser I saw redirect with code. My code: private string…
Using Styles in XAML
I have defined styles in Styles.xaml within a ResourceDictionary, then I "import" them at the root element in my main window <RelativePanel.Resources> <Style TargetType="Button"…
Restrict printer selection while printing in WinUI app
In a WinUI app, I want to restrict the user from selecting any printer, only allowing a predefined set of printers. Additionally, the user should not be able to modify the print settings, such as altering the paper size or page range; they should only be…
Win32 context menu items issues
Hello everyone, could you please tell me what can go wrong with getting context menu items via win32? First of all, do I understand correctly that the ampersand in the name is normal? But at the same time, some elements have a localized dwTypeData, some…
Change or Neutralize default button visual states
I am defining a style for Buttons to have different from default behavior when user interacts with it. First lets assume I want to neutralize the visual statues of the button. I still want the button to be clickable, I just don't want the click or mouse…
Can we set preview of Drag-and-Drop before drag event in WinUI2?
Hi, I'm working on WinUI2 application with Xaml Island in C++. Suppose we've one draggable TextBlock and when we drag it, we can see some preview moving with the mouse pointer moving. In order to set that preview I'm doing in DragStarting handler as…
How to Disable Scrolling in a Navigation View with WindowsAppSDK
I have a WindowsAppSDK app that uses a navigation view control for navigation. For one of the pages, scrolling should be disabled, allowing the page to shrink to fit within the navigation view's content pane. How can scrolling be disabled and the page…
WinUI3 TabView Binding Not Updating Correctly - Recycling Instances?
Is this a bug in TabView implementation? Or what could I be doing wrong? Summary: Binding seems to get out of sync when adding and removing tabs from tab TabView. Minimal Working Example that Demonstrates the Issue: Code for minimal working example…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
How to implement alternating row colors in a ListView using Windows App SDK
I have a Windows App SDK app that has a ListView, and I want the row colors to alternate. What is the best way to achieve this?
Need primary window on top of another primary window using WinUI3 and win32
Hi team, I am referring the below code sample which is provided by your team. https://app.box.com/s/wbpx7rzvwyqna66z0yckfprcf6qxg9kh So now we have requirement to keep two primary window on top of another main window. and 1st main window to…
Is it possible to verify add-on purchase in a standalone windows build
Hi, Due to compatibility issues with several SDKs, I plan to build my game as a Windows Standalone application rather than a UWP build in Unity. However, I have discovered that Microsoft Store SDKs are only available for UWP builds, which prevents me…
why GATTSetCharacteristicValue return 80070005 on windows8.1
when i use GATTSetCharacteristicValue Send data to ble device (on windows 8.1), but it return hr=80070005. it will return ok the program on windows10 or over. anybody have this problem.
![](https://techprofile.blob.core.windows.net/images/1P-HevJX50CFOQJZsnsiMg.png?8D86C2)
Issues with Rotating ProgressBar for Vertical Orientation In WinUI App
Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…
Smart screen security error during upload app on store
Hi Team, Could you please help me for sort this issue. I had developed app using Tauri, during submit the APP on store getting security (Smart Screen) error. While I had followed the given steps still error not resolved. Error Below: |10.2.10 Security|A…
ContentPresenter Content does not shown Correctly in a ItemsRepeater
Hi, i am creating a StepBar Control, in Vertical Orientation, and Left or Right DisplayMode (for Header Text), but ContentPresenter Content does not shown correctly. as you can see BasicInfo shown as BasicInf and UploadFile shown as UploadF. and this a…
VisualState Only Changes Once in Custom Control WinUI/WASDK App
I am working with a custom control in a WinUI/WASDK App and trying to modify the Foreground or BorderBrush of some elements using the VisualStateManager. However, I am encountering an issue where the VisualState only changes once, and after that, I am…
Dialog box before launching of application in winui3 c++/winrt
I am working in winui3 c++/winrt and I need to show a dialog box just before the launch of my application The dialog box will say OK and Cancel on click of OK we launch the application and on cancel we exit. I tried a few approaches but it is giving…