Coder Social home page Coder Social logo

Comments (4)

jasonfagan avatar jasonfagan commented on July 28, 2024

This is definitely something useful as I am currently having issues with the WinSparkle dialog being hidden behind the parent window. One solution might be to add a SetParentHWND function to and explicitly tell WinSparkle the main window, what are your thoughts?

from winsparkle.

vslavik avatar vslavik commented on July 28, 2024

This is definitely something useful as I am currently having issues with the WinSparkle dialog being hidden behind the parent window.

But that has nothing at all to do with centering on windows, does it? If you have an issue with Z-order, please file a separate issue, preferably with at least some details and ideally a reproducible case (better yet, make that a PR with a fix ;). WinSparkle puts itself at the top of Z-order, so if that doesn't happen, it's clearly a bug.

what are your thoughts?

Speaking of this issue, i.e. centering, I'm against it — that's one more bit of data that the hosting app has to manage (app windows change in time). If anything can be done automatically, it should be. Turns out this is not even a hard problem: http://stackoverflow.com/questions/6202547/win32-get-main-wnd-handle-of-application

from winsparkle.

jasonfagan avatar jasonfagan commented on July 28, 2024

No indeed you are right, just thought that if you were considering centering, then the z-ordering could also be in there. The z-ordering doesn't appear to work but that may have more to do with my application, I will certainly investigate and if there is a fix for it you'll get a PR :)

btw, thanks for a great library.

from winsparkle.

vslavik avatar vslavik commented on July 28, 2024

The z-ordering doesn't appear to work

Related: likely cause of that is something along the lines of #41.

Centering fixed in ae99e5a and f5a0636

from winsparkle.

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.