Sign in to follow this  
Followers 0
rcmaehl

Fixing the GUI not displaying correctly

2 posts in this topic

#1 ·  Posted (edited)

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


Active: IRC UDF, WindowEx UDF
Discontinued: GithubBubbleSort UDF

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0