Home › Forums › General XMetaL Discussion › Interacting with running XMAX › Reply To: Interacting with running XMAX
Reply to: Interacting with running XMAX
July 11, 2011 at 11:06 amIf we can't get the running XMAX instance within C++ plugin then should I create some public plugin methods which will be called within macros and transfer handles to objects like ActiveDocument?
I mean something like
STDMETHODIMP CMyPlugin::AttachActiveDoc (IDispatch* pDoc);
But what if I'd like to get window handle of XMAX – ActiveDocument, Selection are useless in this case…
Thus only container app can easily get the XMAX window handle.