internal override void UpdateWindow(IntPtr handle) { Hwnd hwnd; hwnd = Hwnd.ObjectFromHandle(handle); if (!hwnd.visible || !HIViewIsVisible (handle)) { return; } SendMessage(handle, Msg.WM_PAINT, IntPtr.Zero, IntPtr.Zero); }