Git Product home page Git Product logo

Comments (8)

Jack251970 avatar Jack251970 commented on August 18, 2024 1

Thanks for your answer! It seems harder than initially thought. 🤔

from winuiex.

dotMorten avatar dotMorten commented on August 18, 2024

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.

Jack251970 avatar Jack251970 commented on August 18, 2024

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.

dotMorten avatar dotMorten commented on August 18, 2024

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.

Jack251970 avatar Jack251970 commented on August 18, 2024

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.

dotMorten avatar dotMorten commented on August 18, 2024

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.

Jack251970 avatar Jack251970 commented on August 18, 2024

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.

dotMorten avatar dotMorten commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.