Home › Forums › General XMetaL Discussion › Programmaticall way to catch horizontalvertical document tab group › Reply To: Programmaticall way to catch horizontalvertical document tab group
Reply to: Programmaticall way to catch horizontalvertical document tab groupJuly 20, 2016 at 5:51 am
Our plugin performs some linguistic analyze for current document in XMetal.
Plugin embeds own panels into XMetal and shows results of document analyze in these panels.
At the current moment conceptually we want that our plugin support only view when one document is available.
Therefore plugin should react somehow on switching view to grouped document tabs.
We found a way how to implement this for the current moment:
Plugin enumerates Tab windows (with classname “Afx_TabWnd…”) inside XMetal editor area and if amount of visible tabs is more then 1 plugin reacts on this.
Sure if XMetal API will support this in the future it will be more proper way to use it instead of current solution.