Hi,
from a few max release drag-drop suddenly stops working.
i found there is a drop handler that is not going to be released, infact the result of DragAndDropMgr.NumHandlers on scenes that are working ok is 0 and 1 in the broken ones.
i’m not too familiar with the dotnet side of things so i’m even unable to run DragAndDropMgr.GetHandler correctly, nor to dispose that handler by any means. here is what i’m working on
(
global g = (dotNetClass "Autodesk.Max.GlobalInterface").Instance
local hwnd = 6823308P ----the viewport hwnd
local numhand = g.DragAndDropMgr.NumHandlers(hwnd)
g.DragAndDropMgr.GetHandler(hwnd numhand)
---g.DragAndDropMgr.(GetHandler(hwnd numhand)).Release() -----this is what i'd like to do
)
i can barely get the numhand but i’m missing something in the gethandler part.
thank you for any help