Get AH Listing on Mouse Hover
I want to call the GetAuctionItemInfo api on mouse hover of an auction listing. I thought I could grab the ah index off of the frame name but I can't do that reliably.
Lua Code:
This works perfect if the listing is only a few items and has no scrollbar. The problem occurs when scrolling down a listing, the "first" listing you see is always "BrowseButton1Item" and the "last" is always "BrowseButton8Item". This leaves me without a useful index to call GetAuctionItemInfo with. |
Based on Blizzard's code you can add the return of FauxScrollFrame_GetOffset(BrowseScrollFrame) to your ahIndex to get the value you are looking for.
|
That's awesome! Thanks so much.
|
All times are GMT -6. The time now is 03:08 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI