You are here: > ESRI Forums > arcgis desktop discussion forums > Thread Replies

ArcGIS Desktop Discussion Forums

ArcGIS Desktop - ArcObjects General forum

IDockableWindow and errors   George Silva Mar 31, 2010
Re: IDockableWindow and errors   George Silva Mar 31, 2010
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject IDockableWindow and errors 
Author George Silva 
Date Mar 31, 2010 
Message Hello guys!

I have a dockable window here, but i cannot display it.

WHen my system reaches the code below, it always returns null.

This was auto generated by VS2005 and the windows registry is just fine.

The layer won't show up.

Any ideas? ArcGIS 9.3.1

Thanks 
 
private void SetupDockableWindow()
        {
            if (m_dockableWindow == null)
            {
                IDockableWindowManager dockWindowManager = (IDockableWindowManager)m_application;
                if (dockWindowManager != null)
                {
                    UID windowID = new UIDClass();
                    windowID.Value = DockableWindowGuid;
                   
                    m_dockableWindow = dockWindowManager.GetDockableWindow(windowID);
                }
            }
        }
 
  George R. C. Silva
GIS Analyst
georger.silva at gmail.com 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: IDockableWindow and errors 
Author George Silva 
Date Mar 31, 2010 
Message nevermind. Thanks anyway. 
  George R. C. Silva
GIS Analyst
georger.silva at gmail.com