10031004100510061007100810091010101110121013
return gdi.CombineRgn(region, region, tempRgn, WinGDI.RGN_OR) != WinGDI.ERROR; } }); } finally { gdi.DeleteObject(tempRgn); } } setWindowRegion(w, region); }
10341035103610371038103910401041104210431044
rectangle.y + rectangle.height); gdi.CombineRgn(result, result, tempRgn, WinGDI.RGN_OR); } } finally { gdi.DeleteObject(tempRgn); } } user.SetWindowRgn(hWnd, result, true); } finally { gdi.DeleteObject(result);
10391040104110421043104410451046104710481049
gdi.DeleteObject(tempRgn); } } user.SetWindowRgn(hWnd, result, true); } finally { gdi.DeleteObject(result); } setForceHeavyweightPopups(getWindow(w), rectangles != null); } }); }
734735736737738739740741742743744
super(content); } private void disposeBackingStore() { GDI32 gdi = GDI32.INSTANCE; if (hBitmap != null) { gdi.DeleteObject(hBitmap); hBitmap = null; } if (memDC != null) { gdi.DeleteDC(memDC); memDC = null;
775776777778779780781782783784785
if (memDC == null) { memDC = gdi.CreateCompatibleDC(screenDC); } if (hBitmap == null || !win.getSize().equals(bitmapSize)) { if (hBitmap != null) { gdi.DeleteObject(hBitmap); hBitmap = null; } BITMAPINFO bmi = new BITMAPINFO(); bmi.bmiHeader.biWidth = ww; bmi.bmiHeader.biHeight = wh;
861862863864865866867868869870871
try { user.SetWindowRgn(hWnd, hrgn, true); setForceHeavyweightPopups(getWindow(w), hrgn != null); } finally { gdi.DeleteObject(hrgn); } } }); }
925926927928929930931932933934935
return gdi.CombineRgn(region, region, tempRgn, WinGDI.RGN_OR) != WinGDI.ERROR; } }); } finally { gdi.DeleteObject(tempRgn); } } setWindowRegion(w, region); } }
686687688689690691692693694695696
724725726727728729730731732733734
301302303304305306307308309310311
} finally { user.ReleaseDC(null, screenDC); if (hBitmap != null) { gdi.SelectObject(memDC, oldBitmap); gdi.DeleteObject(hBitmap); } gdi.DeleteDC(memDC); } } else if (a) {