aht505

GetDockableWindow return null in windows 7

Discussion created by aht505 on Dec 9, 2011
Latest reply on Jan 11, 2012 by CWang-esristaff
I have arcgis dekstop 10 installed on windows 7 64 bit and windows xp

I have a dockable window -MyDockableWindow, it implements  UserControl and  IDockableWindowDef
interfaces.

This code runs fine on Windows XP

                IDockableWindowManager idwm;
                idwm = (IDockableWindowManager)this.m_application;
                IDockableWindow idw;
                UID myuid = new UID();
                myuid.Value = "MyTool.MyDockableWindow";
                idw = idwm.GetDockableWindow(myuid);
//idw is null here

But in windows 7(64 bit) it gives idw is null

Outcomes