Jump to content

Fixing the GUI not displaying correctly


rcmaehl
 Share

Recommended Posts

Occasionally, on first start-up or coming back from the lock screen my GUI will do this


1Zd4cGM.png

Instead of what it's supposed to look like:

WZINqYU.png

 

What's the best way to detect and fix this since I've never encountered this before.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

Well, I don't know what your code looks like or how you're handling your controls but this might work, if it's a visual glitch

_WinAPI_RedrawWindow

If the position of the control has moved to that spot when it's not supposed to you can use

ControlGetPos

To get the position of the control and move it off screen until you need it. You can also use

ControlShow
and
ControlHide

To just hide the control

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...