Thread Tools Display Modes
12-13-21, 09:20 PM   #1
Jaesuk
A Defias Bandit
Join Date: Dec 2021
Posts: 2
The frame that pops up when you want to throw something out from your bag

What do you call that frame which pops up whenever you want to throw an item from the bag? Or whenever you equip gear and it tells you it will bind to you?

And if u know, do you know any addon or someway to move that frame?
  Reply With Quote
12-15-21, 09:24 AM   #2
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
You can use /fstack to find out the names of frames. When in the inspection mode, see what happens when you press shift, alt or ctrl while hovering with the cursor over frames. Thus you can find out the names of frames and more.
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote
12-16-21, 07:06 PM   #3
DahkCeles
A Cliff Giant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 73
If only one appears at a time, it is called StaticPopup1.

https://www.townlong-yak.com/framexm...taticPopup.xml
  Reply With Quote
12-17-21, 11:16 AM   #4
Jaesuk
A Defias Bandit
Join Date: Dec 2021
Posts: 2
Thanks.

Anyh idea how I can move that frame?

Last edited by Jaesuk : 12-17-21 at 11:19 AM.
  Reply With Quote
12-17-21, 01:08 PM   #5
DahkCeles
A Cliff Giant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 73
Just call SetPoint().

Lua Code:
  1. StaticPopup1:ClearAllPoints()
  2. StaticPopup1:SetPoint("TOP", 0, -135) -- this is the current location.
  Reply With Quote
12-19-21, 07:22 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
I'd suggest hooking or rewriting StaticPopup_SetUpAnchor().

The popup frames act as a frame pool, you'll either have them show at random locations or have your anchor overwritten if you statically set one of them.

For example, this uses a secure hook to change the position of the root frame only. Others will spawn under it as is default behavior.
Lua Code:
  1. hooksecurefunc("StaticPopup_SetUpAnchor",function(frame,i)
  2.     if not StaticPopup_DisplayedFrames[i-1] then
  3.         frame:ClearAllPoints();
  4.         frame:SetPoint("TOP",UIParent,"TOP",0,-135);
  5.     end
  6. end);
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-19-21 at 07:31 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » The frame that pops up when you want to throw something out from your bag

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