• regarding "Hidden tooltip for scanning", when I do this:SetOwner(this, "ANCHOR_NONE"); I get an error telling me "Can't set owner to self"
  • Try using the code as stated this:SetOwner(UIParent, "ANCHOR_NONE");; I've used it for hidden buff scanning... On another subject, does anyone know exactly how the new tooltip code for Patch 2.2 will be implemented?
  • Added macro for tooltip iteration; scans current or last target, or the item you're highlighting (buff window, etc.)Belleboom 21:43, 31 March 2008 (UTC)

I couldn't find anywhere how to just make the tooltip appear in the default tooltip area. I found this method in GameTooltip.lua: GameTooltip_SetDefaultAnchor(tooltip, parent) .. basically you pass it the tooltip you're using (eg. Mytooltip or GameTooltip) and then the parent (really this is the owner you would specify in SetOwner).. so:

GameTooltip_SetDefaultAnchor(GameTooltip, WorldFrame);

on the OnLoad of a frame, and then on the OnLeave of a frame (OnEnter has the normal code to add lines/show) and then voila. it shows up where the normal tooltips do.

I don't know the exact way to put this in the article, so I put it here, however I really think this needs to be revamped. It stands out from the other pages like a sore thumb, and doesn't really describe how to create tooltips which is one of the main reasons to go to the object information page. -- Hillie (talk) 08:19, 29 June 2008 (UTC)

Question about Tooltips

Is it possible to put in a bit of code somewhere to resize "ALL" tooltips to a pre-set size?

Some thing like:


????? Tearstar (talk) 19:49, 11 June 2009 (UTC)