I'm still a bit new to this, so I have another question. My AddOn automatically opens some ItemLinks, like from the chat. The problem is, I don't know how to close them automatically. Is there a command or function I could use to close them?
Sorry, I was writing that in a hurry. I meant close the frame, hide it, as if you had clicked the X button normally in the upper right. Remember I'm talking about the frames that popup from an itemlink in the chat.
I figured out how to open them automatically when you move the mouse over them by putting the SetItemRef command in the OnHyperlinkEnter event. I just need to know what to put on the OnHyperlinkLeave to close them again.
Sorry about that, and thanks for any help in advance.