GithubHelp home page GithubHelp logo

Minor UI bugs about universal_gtao_booster HOT 4 OPEN

tostercx avatar tostercx commented on July 24, 2024
Minor UI bugs

from universal_gtao_booster.

Comments (4)

QuickNET-Tech avatar QuickNET-Tech commented on July 24, 2024

Sounds like WinAPI being a pita. For the message box I can try a different flag on the message box (probably the right solution), or if I can somehow get a handle to the window I can force it on top (a hack if the proper solution doesn't work). Messagebox and the config should be handled post-window and I set the foreground flag, there's another more aggressive flag that might help. As for the console, it wouldn't be the first time I've seen it not work as it should, which is why in the code I'm actually extra forceful and actively destroy the window after freeing the console. The comment where I do that is amusing in the context of it not working:

DestroyWindow(consoleWindow); // shouldn't be necessary at all, but a little force won't hurt

I'll see if I can reproduce asap, thanks.

from universal_gtao_booster.

QuickNET-Tech avatar QuickNET-Tech commented on July 24, 2024

If you're able to pull and build, I've made a few tweaks that should hopefully help. Unfortunately I've not been able to reproduce so...

from universal_gtao_booster.

tostercx avatar tostercx commented on July 24, 2024

Nope, both still reliably happen every time for me! (Except now the R* logo patch is applied too late sometimes). Really surprised DestroyWindow doesn't do anything.

Unfortunately I've not been able to reproduce so...

Yeah, if my guess is right, it's timing based, so it would be a PITA to recreate/debug :/
Could be something else on my system as well (running Steam version/windowed if that matters).

It's not too big of a deal - could always fix later if more people complain. Can either disable the console or minimize it as a workaround.

Gonna try debugging it some more later.

from universal_gtao_booster.

QuickNET-Tech avatar QuickNET-Tech commented on July 24, 2024

Tbh this pretty much sums up my experience with the WinAPI, it does what it wants when it wants.

Reverted 4e4b5b4

from universal_gtao_booster.

Related Issues (7)

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.