Example #1
0
        protected override HandleRef BuildWindowCore(HandleRef hwndParent)
        {
            int overlapedWindow = 13565952;

            this.hwndHost = Win32WndHost.CreateWindowEx(0, NeverTranslateClass.NeverTranslate("static"),
                                                        "", 1375731712, 0, 0, this.hostWidth, this.hostHeight, hwndParent.Handle,
                                                        (IntPtr)2, IntPtr.Zero, (object)0);



            return(new HandleRef((object)this, this.hwndHost));
        }
Example #2
0
 protected override void DestroyWindowCore(HandleRef hwnd)
 {
     Win32WndHost.DestroyWindow(hwnd.Handle);
 }