Activate issue with StandardMdiHost

Docking/MDI for WPF Forum

Posted 10 years ago by FinallyInSeattle
Version: 4.5.0483
Avatar
I'm having an issue with activating a DocumentWindow that is created programmatically. Try these steps in your Standard MDI-only sample app:
  1. Notice that when the form is initially displayed that Document1 is "active".
  2. Do a File->New.
  3. Notice that Document1 is still the active DocumentWindow.
The code in CreateTextDocumentWindow does a documentWindow.Activate(). Is there something else that needs to be done in order to get this newly-created window to be the active one?

Thanks in advance!

[Modified at 01/15/2009 10:42 PM]

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks, we've updated our code to do an UpdateLayout right before trying to set focus. That appears to resolve it. This will be in the next maintenance release.


Actipro Software Support

Posted 10 years ago by FinallyInSeattle
Avatar
Is there anything that we can do in our code as a workaround. We're in a time crunch and need to get this working.
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
As I posted in the other thread, I'll contact you via email on this.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.