Do not judge strictly. I just started learning WinUI. Using WPF I could make the main window transparent right in the XAML markup. Is it possible to make the main window transparent using Reunion? I need this to make the program window of my shape.The window object has so few properties. I only found how to change the TitleBar.
And more:
Can I use reunion to make rounded corners on windows 10 as on windows 11?
Does Mica material work on windows 10?
Transparent windows are not yet supported but it's tracked as a feature request on GitHub.
Can I use reunion to make rounded corners on windows 10 as on windows 11?
No, at least not using the AppWindow layer that is used to produce the rounded corners in Windows 11.
Does Mica material work on windows 10?
No, Mica is exclusive to Windows 11. At least for now.
Related
I have a desktop app that is developer for Windows operating Environment.The App was developed on a 1,280x720 Monitor.It works very well on most systems with normal screen resolutions.Including 1080P and old 17 and 15 inch monitors.
The thing is when it comes to Laptops with 15" screen and 1080P resolution,the App shows up correctly at first but after using a control,the window gets smaller.The Text gets larger and some controls fall on top of others.
Another issue is that when the user has adjusted this size setting to High
The app window gets Cut and it does not show the complete content.The Application is not full screen.
One user was using a Windows Surface Pro and to get the Application Fit,the above setting was reduced.But this made the App too small,so the user ended up getting a refund.
I'm not targeting Tablet(Surface Pro) users.The intended audience is desktop Users.
What is the best way to tackle this issue keeping winforms GUI.
Please advice.
It seems you're looking for the AutoScaleMode property. This will allow your controls to change size according to the zoom level of your users' PCs (which you pictured above).
There is some really good advice in this answer to 'Creating a DPI aware application'. But basically:
Set the AutoScaleMode of your base control (the Form) to Font or Dpi
Remove as many custom font settings from your controls as possible (this will restore them to the default MS Sans Serif at ~8pts)
Develop the app at the standard zoom level and then test it on larger screens with higher zooms, see how it goes.
Hope this helps
I have to say I am a bit shocked the answer to this problem isn't easier to find. I have an application that creates a notification tray icon. When I am running my app on Windows 10 the notification area background color is black. So I am using a white version of my logo for contrast. Running the same program on Windows 7 the taskbar background is dark, but the notification popup has a white background. Thus using my white icon doesn't work?
My first thought was to determine if I am on Windows 10 and if I wasn't to use a blue version of my icons. Sounds simple enough until you try to detect the OS version. For some reason Microsoft has decided that the OSVersion information will just return the Windows 8 version number from now on (if you are on Windows 10)?!?! Seriously? The suggestions to detect Windows 10 are to look at registry keys, or make unsafe calls to kernel level api's?
Other application developers have had to run into this issue. What is the solution? How do you managed your notification tray icons when they have to work when on a white background and black? I would prefer not to make the blue images background white, since the box around the icon won't look very nice.
I have created a wallpaper changing program in C# using Visual Studio and I have had a couple reports in this last few months of part of the program not displaying right. I have no clue what is causing it. Any help?
This is what it looks like on my computer, Windows 7
This is what it looks like on the victims computer, Windows 8
If this is a windows Forms application, it could have something to do with DPI/resolution scaling. This isn't unique to Windows 8.
Check the Display sizing options match on both displays (or simply change on your Windows 7 Machine) in Control Panel.
Control Panel\Appearance and Personalization\Display for Windows 8. (I think it is the same for Windows 7).
See C# WinForms disable DPI scaling
or
How to write WinForms code that auto-scales to system font and dpi settings?
I'm developing app for Windows Phone. I have a Lumia 1320 and I noticed that apps on my device are wrongly seen so as many apps on the Store (like WhatsApp!)
ScreenHeight is wrong because, when task manager is open, I see a black border (especially if there is an ApplicationBar) on bottom and font size is bigger then the settled size on settings.
There is a plug-in or something in SDK for developing apps for 6" screen or there is something I miss?
Thank you all!
You can change the resolution of the device that the UI designer uses by using the side bar (on the left usually).
Here's a screenshot for you. When use correctly you can get a feel for what you app will look like on different phones.
I'm in the process of porting my App to Windows 8.1 from 8, and had been using the Callisto Settings Flyout in Wide (646 pixel mode).
Windows 8.1 changed the way the Settings work, and a narrow app can now show it's settings, and therefore may be as narrow as 320pixels, which isn't wide enough to hold a wide flyout.
On Windows 8 you could call TryUnsnap() which would make the window wider, but that's deprecated and now does nothing. So what options do I have to make my flyout visible.
I had hoped that because it's a top level window that it would span across the window boundary, but that was wishful thinking.
Having looked around for any Microsoft App that has a wide about box, I finally found one in Xbox Live. It looks as though they're resizing the flyout to the width of the window at the time it's opened.
That's probably a reasonable solution, as long as your flyout has fluid layout.