ChatFrame:SetInsertMode('TOP') ?? (prepend messages instead of append)
So I saw this UI which has the chatframe at the top of the screen rather then at the usual bottom.
I was wondering, since ChatFrame1 is a child of ScrollingMessageFrame... one should be able to call ChatFrame1:SetInsertMode('TOP') or ChatFrame1:SetInsertMode('BOTTOM'). Trying this ingame however does not seem to have any effect however, no errors in buggrabber or in FrameXML.log. Now I'm curious how one would achieve this effect :P |
ScrollingMessageFrame:AddMessage() has an 'addToTop' argument which ignores the frame's insert mode. This is used in the combat log. Perhaps you should look into that.
http://wowprogramming.com/docs/widge...ame/AddMessage You could do something like: Code:
local oldAddMessage = ChatFrame1.AddMessage |
Thanks for finding that!
Going to play with this :) |
All times are GMT -6. The time now is 05:44 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI