Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2815
Get floating window with highest z-index
posted

If I have 3 floating windows open, how do I get the open with the highest Z index?  I do not want the one that was tagged as last activated by xamDockManager.  I want the top most floating window or the one with highest z-index.

Ideas?

TIA.

Parents
  • 54937
    Suggested Answer
    Offline posted

    Well if you only have a single XamDockManager then you can probably use the ToolWindow.GetToolWindows static method passing in that XamDockManager. That will return the ToolWindows for that XDM in zindex order. Outside of that you would probably need to windows apis like EnumThreadWindows and EnumChildWindows.

Reply Children
No Data