I'm making an addon which adds lines to the GameTooltip. That works correctly, but it doesn't seem to apply to the item-details pop-up window that appears when you click an item in the chat window. I didn't find any reference to that pop-up (what it's called etc.) so I'm not sure how to hook into it.
Also, is there a general approach to hooking into tooltips from other addons, like Atlas loot?
local origChatFrame_OnHyperlinkShow = ChatFrame_OnHyperlinkShow;
ChatFrame_OnHyperlinkShow = function(...)
local chatFrame, link, text, button = ...;
local result = origChatFrame_OnHyperlinkShow(...);
if (not ItemRefTooltip:IsVisible()) then
-- do stuff to add lines