Comments (8)
Thanks for your answer! It seems harder than initially thought. 🤔
from winuiex.
How do you see this working in a multi-monitor setup? (I have two monitors under my primary monitor for instance - all have task bars)
from winuiex.
Maybe I will only show those windows in the primary monitor. After all, you will always connect the primary monitor. And this action makes those widgets easy to manage their positions.
I've used two monitors, and I've used one app that can create widgets. I've found that if I create widgets on a non-primary display, they will automatically appear on the primary display (perhaps in a random location) if the next time it is not connected. 🤔
from winuiex.
This feels very special case. All the apis to do this are already available (get screen layout and position windows) but of course requires a little custom logic putting it together.
I'm going to close this as out of scope for winuiex since I can't see a lot of apps needing helpers for this.
from winuiex.
You seem to be misunderstanding what I mean, the features I need have nothing to do with window location or screen layout. 🤔
I just need a feature like always-on top, which makes the window always at the bottom (any newly opened windows will always on top of it). 😅
from winuiex.
Ooooooh. Yeah I misunderstood. I don't think Windows has such a feature does it? If you can find the win32 API for this I'll be happy to expose it
from winuiex.
I've tried looking for relevant information, but I can't seem to find a solution of C#.
Maybe it would be possible to build the desktop as the parent window of this window?
I have relatively little experience, so I'd like to have encapsulated functionality.
What I can make sure is that this feature should be achievable, the open source project Rainmeter is based on the C language, and the windows it creates are indeed located at the bottom of the screen.
from winuiex.
That's supposedly the way to go but also heavily recommended against: https://stackoverflow.com/q/365094
That thread have other ideas - all using methods winuiex mostly provide like accessing the windows messages and overriding methods.
I still think my original assessment that this is too special a case to put in a generic api. You'll have to do this in your app - some of the apis in winuiex makes this a lot easier but you'll need to do the last mile in your own app.
from winuiex.
Related Issues (20)
- Support tabbed backdrop for Win11 22H2 and up HOT 2
- Bug: When using WindowsEx class, closed application crashes on launch when activated from notification. HOT 2
- WebAuthenticator not working with Mozilla Firefox HOT 7
- Updating System Backdrop to New API HOT 4
- WindowExtensions.cs, MoveAndResize() HOT 2
- DataRow doesn't work with WinUI HOT 1
- "Specified cast is not valid" on launch after upgrading from 2.1.0 to 2.2.0 HOT 3
- Mistake on MSIX-win10-x64.pubxml HOT 2
- Help Needed HOT 2
- CenterOnScreen has window visibility change side-effect HOT 1
- Add overload to WindowEx to Create a WindowEx from Window HOT 5
- IsMinimizable and IsMaximizable only working together HOT 3
- Use ContentCoordinateConverter for screen <--> window coordinate conversion
- HTTP 400 when using WebAuthenticator HOT 11
- [Question] Using last Backdrop update in MAUI HOT 2
- Can't change TransparentTintBackdrop.TintColor at runtime HOT 3
- Add SizeToContent - Proposal HOT 2
- Debugging with WebAuthenticator HOT 2
- Release Date for .NET 7 or NET 8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winuiex.