ID:158730
 
I have window_a and window_b.
window_a's resolution is 800x600,
window_b's resolution is 320x320.

What I'm trying to do is to make window_b to be on Top of window_a; however, everytime I run the game, window_b appears *behind* window_a.
mob
Login()
winshow(src,"window_a",1)
winshow(src,"window_b",1)
..()

// BOTH LEAD TO THE SAME RESULT.
// Windows are invisible by default.

mob
Login()
winshow(src,"window_b",1)
winshow(src,"window_a",1)
..()


I've taken a quick look at the skin reference, but I didn't find any "layer" or "index" variables/parameters that applied to windows.

Any help? Thanks!
I don't think there is one.
According to what you said its probably doing layers by alphabetical order.
So rename them and see if it works.
If not it could be the order of them in your interface.
In response to Chowder
I already changed their names (which automatically change their positions in the interface listing), but still, no results.

I'll... add this to Fixes and Features, I suppose.
According to my tests, the windows are arranged in alphabetical order when first shown, with the default window always appearing in the back.

If windows are initially hidden, they are arranged in the order they are shown.
In response to DarkCampainger
I suppose I can change the interface a bit so it works that way.
Thanks!