View Single Post
09-30-19, 08:09 PM   #1
mtp1032
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 22
HOWTO: Drag and Drop To An Options Menu?

I have an addon that can be configured to sell items by quality (common, uncommon, rare, epic) and/or container (i.e., all items in the selected bags will be sold regardless of quality). All this works perfectly. But now I want to add the ability exclude selected items by dragging (PickupContainerItem()) and dropping the item(s) onto the addon's options' menu and into an exceptions list. All items on the exceptions list will not and cannot be sold.

Since I"m not "moving" an item from one location (e.g., a bag slot) to another (e.g., a bank slot) but to an options menu, how would I accomplish this.

Thanks, in advance, for any suggestions.
  Reply With Quote