Jump to content
Sign in to follow this  
Fossil Rock

Forcing control to stay behind other controls.

Recommended Posts

Fossil Rock

I have multiple graphics stacked on top of each other. When I change one of the graphics, it redraws on top of the stack. Is there a way to force it to stay in the position it is in (in relationship to the stack)?


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
SmOke_N

I have multiple graphics stacked on top of each other. When I change one of the graphics, it redraws on top of the stack. Is there a way to force it to stay in the position it is in (in relationship to the stack)?

GUICtrlSetState() maybe?...

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Fossil Rock

I figured out the problem (I think). If I drag the window off the screen and back or minimize and restore it, it corrects the 'visual' problem.

I decided to try it a different way.... a cleaner look (too me).

Thanks anyway.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
jvanegmond

GUICtrlSetState(-1,$GUI_ONTOP)

Control will be have the ontop attribute for the window (zOrdering).

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  

×