Dock guides not appearing when hosting WPF content in Win32

Docking/MDI for WPF Forum

Posted 6 years ago by Alex Hau
Avatar

Our WPF content has a DockSite and when using this content from a WPF window (our tool has a standalone WPF version, but can be embedded in other Win32 applications as a plugin), everything is fine and tool windows defined in the content can be put in floating mode and dock guides appear correctly to dock them. However, when hosted inside a Win32, we can make tool windows in floating mode, but then, dock guides don't appear and the only option we have is to right-click on the title bar and select "Dock" to put back the tool window where it was before. I already took a look at the "Interop Compatibility" documentation section but it doesn't work and it seems to be for when hosting Win32 content in WPF instead.

Is there any solution to make it work properly?

Thank you!

[Modified 6 years ago]

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Alex,

You could try setting the DockSite.UseHostedPopups to false to see if that helps.  That enables an airspace workaround to render WPF content on top of Win32/interop content in the same WPF Window.  That could possibly help in your scenario.

While we do have a lot of features for supporting Win32/interop content within our docking windows, we don't really test scenarios of our WPF controls embedded in Win32 apps.  If you'd like to make a new simple sample project that shows the issue, you could send that to our support address and reference this thread.  Please remove the bin/obj folders from the ZIP and rename the .zip extension so it doesn't get spam blocked.  Then we could have a look and see if anything stands out that could be done to resolve this.


Actipro Software Support

The latest build of this product (v24.1.3) was released 29 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.