Pages: 1
Print
Author Topic: Programmaticall way to catch horizontal\vertical document tab group  (Read 612 times)
kmalyshko
Member

Posts: 2


« on: July 18, 2016, 07:29:11 AM »

Hallo,
XMetaL Author Enterprise 10.0.0.059.

In the custom plugin there is necessity to catch switching to the horizontal\vertical tab group view (user can do this throw context menu on document tab header).
Is there any programmaticall way to catch switching to the horizontal\vertical tab group using XMetal API?
Is it possible to detect using XMetal API if horizontal\vertical tab group view is used?

Thank you!
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2445



WWW
« Reply #1 on: July 18, 2016, 02:15:29 PM »

The software has no APIs for this.

What kind of feature are you trying to add to the software that would require this?
« Last Edit: July 18, 2016, 02:21:35 PM by Derek Read » Logged
kmalyshko
Member

Posts: 2


« Reply #2 on: July 19, 2016, 11:51:00 PM »

Hallo,

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.
« Last Edit: July 19, 2016, 11:52:54 PM by kmalyshko » Logged
Pages: 1
Print
Jump to: