General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Programmaticall way to catch horizontalvertical document tab group

  • kmalyshko

    Programmaticall way to catch horizontalvertical document tab group

    Participants 1
    Replies 2
    Last Activity 6 years, 2 months ago

    Hallo,
    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!

    Reply

    Derek Read

    Reply to: Programmaticall way to catch horizontalvertical document tab group

    The software has no APIs for this.

    What kind of feature are you trying to add to the software that would require this?

    Reply

    kmalyshko

    Reply to: Programmaticall way to catch horizontalvertical document tab group

    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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support