Exemplo n.º 1
0
        private IVwRootBox m_ivb;              // if this is a RootSite, this is a proxy to it

        /// <summary>
        /// Create a RootSiteProvider based on it's window handle.
        /// </summary>
        /// <param name="hwnd">The RootSite window handle</param>
        public RootSiteProvider(IntPtr hwnd)
        {
            m_providerHwnd = hwnd;
            AccessibleObject ao = new AccessibleObject(hwnd);

            m_ivb = ao.getRootBox();
        }
Exemplo n.º 2
0
        private IntPtr m_providerHwnd; // hwnd of this RootSite control

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Create a RootSiteProvider based on it's window handle.
        /// </summary>
        /// <param name="hwnd">The RootSite window handle</param>
        public RootSiteProvider(IntPtr hwnd)
        {
            m_providerHwnd = hwnd;
            AccessibleObject ao = new AccessibleObject(hwnd);
            m_ivb = ao.getRootBox();
        }