Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
New DevConnect members must have forum permissions in order to post messages.
If the Reply and New Post buttons are not available to you, please request access using a General Support request ticket.
Forum Index » EMC Developer » DocumentWindowKeys of ExternalApplication   XML
Author Message

Joined: 06/02/2014 13:07:05
Messages: 29


what is the purpose of 'Tool Window Key' under External Application Configuration section if not to set the Document-Window Key when it is created ?

If i set the key to something like : 11111-111111-111111-1111111-1111111-..... it does not take it but creates a new one.

what i need is a way to identify where 'External Application 1' window is in some cases so i can do activate on its window key.

Currently I am doing it like this.... please provide a more better function in your DLLs...

Form frm = guiHost.getMainForm();
ControlCollection col = frm.Controls;
foreach (Control x in col)
    if (x.GetType() == typeof(Acti.....TabbedMdiRootContainer)){
      TabbedMdiContainer con = (TabbedMdiContainer )x.Controls[0];

     foreach (TabbedMdiWindow win in con.TabbedMdiWindows){
        if (t.Text == "THIS IS THE TEXT OF THE TITLE")
         //save document key by doing:
         MyDocKey = t.Key; //then you can use it by GuiHost.SetActiveWindow(MyDocKey);


This message was edited 1 time. Last update was at 08/01/2019 08:09:06

Go to: