General XMetaL Discussion
kmalyshko July 18, 2016 at 1:29 pm
Programmaticall way to catch horizontalvertical document tab groupJuly 18, 2016 at 1:29 pmParticipants 1Replies 2Last Activity 6 years, 2 months ago
XMetaL Author Enterprise 10.0.0.059.
In the custom plugin there is necessity to catch switching to the horizontalvertical tab group view (user can do this throw context menu on document tab header).
Is there any programmaticall way to catch switching to the horizontalvertical tab group using XMetal API?
Is it possible to detect using XMetal API if horizontalvertical tab group view is used?
Thank you!Derek Read July 18, 2016 at 8:15 pm
Reply to: Programmaticall way to catch horizontalvertical document tab groupJuly 18, 2016 at 8:15 pm
The software has no APIs for this.
What kind of feature are you trying to add to the software that would require this?kmalyshko July 20, 2016 at 5:51 am
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.
- You must be logged in to reply to this topic.