WPF中获取窗口句柄

            int GEHandle = appGE.GetRenderHwnd();
            //IntPtr mapPtr = new IntPtr(GEHandle);
            int thisHandle = new WindowInteropHelper(this).Handle.ToInt32();
            SetParent(GEHandle, thisHandle);
posted @ 2012-05-30 00:09  杂烩饭2012  阅读(722)  评论(0)    收藏  举报