Thread Tools Display Modes
01/27/22, 09:50 AM   #1
FrostByghte
Join Date: Mar 2018
Posts: 1
Send window/panel to foreground or background

I was curious if there are any mods that can send either default or custom panels to the foreground or background? I think I remember LUI Extended (or maybe Elder Bar) having this feature, but my goal was to find something less all encompassing to do it. Specifically in regards to the compass. Thank you.

Last edited by FrostByghte : 01/27/22 at 10:05 AM.
  Reply With Quote
02/02/22, 06:19 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,962
I cannot remember any addon doing this and it would also be very complicated to add this to all controls.
Often controls are "anchored" to others or get influenced by others (scenes/fragments).
There are ways to bring a control to the most top but it could be changed on next movement or menu close again by the standard game code (vanilla code).

You can try this in your chat editbox with the mouse cursor above a control:

Code:
/script moc():SetDrawTier(DT_HIGH)
moc() will get the control below the mouse cursor.
If you get any error message moc() is not working or no control was found or it does not provide the SetDrawTier function.
If things get f***d up just do a /reloadui in chat to restore the old values.

This is the same script as above only with some security checks to prevent lua error messages or bringing the complete GuiRoot to the front:
Code:
/script local m=moc() if m and m ~= GuiRoot and m.SetDrawTier then m:SetDrawTier(DT_HIGH) end


Instead of DT_HIGH you can also use these:
DT_MEDIUM (standard value for controls)
DT_LOW
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Send window/panel to foreground or background

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off