21 references to COMRECT
System.Windows.Forms (21)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (16)
291
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, hTheme.NativeHandle), hdc, part, state, new NativeMethods.
COMRECT
(bounds), null);
295
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, Handle), hdc, part, state, new NativeMethods.
COMRECT
(bounds), null);
325
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, hTheme.NativeHandle), hdc, part, state, new NativeMethods.
COMRECT
(bounds), new NativeMethods.
COMRECT
(clipRectangle));
329
lastHResult = SafeNativeMethods.DrawThemeBackground(new HandleRef(this, Handle), hdc, part, state, new NativeMethods.
COMRECT
(bounds), new NativeMethods.
COMRECT
(clipRectangle));
361
lastHResult = SafeNativeMethods.DrawThemeEdge( new HandleRef( this, Handle ), hdc, part, state, new NativeMethods.
COMRECT
( bounds ), (int) style, (int) edges | (int) effects | EdgeAdjust, rect );
452
lastHResult = SafeNativeMethods.DrawThemeParentBackground( new HandleRef( this, childControl.Handle ), hdc, new NativeMethods.
COMRECT
( bounds ) );
497
lastHResult = SafeNativeMethods.DrawThemeText( new HandleRef( this, Handle ), hdc, part, state, textToDraw, textToDraw.Length, (int) flags, disableFlag, new NativeMethods.
COMRECT
( bounds ) );
520
lastHResult = SafeNativeMethods.GetThemeBackgroundContentRect( new HandleRef( this, Handle ), hdc, part, state, new NativeMethods.
COMRECT
( bounds ), rect );
544
lastHResult = SafeNativeMethods.GetThemeBackgroundExtent( new HandleRef( this, Handle ), hdc, part, state, new NativeMethods.
COMRECT
( contentBounds ), rect );
572
lastHResult = SafeNativeMethods.GetThemeBackgroundRegion( new HandleRef( this, Handle ), hdc, part, state, new NativeMethods.
COMRECT
( bounds ), ref hRegion );
789
lastHResult = SafeNativeMethods.GetThemePartSize( new HandleRef( this, Handle ), hdc, part, state, new NativeMethods.
COMRECT
( bounds ), type, size );
903
lastHResult = SafeNativeMethods.GetThemeTextExtent( new HandleRef( this, Handle ), hdc, part, state, textToDraw, textToDraw.Length, (int) flags, new NativeMethods.
COMRECT
( bounds ), rect );
948
lastHResult = SafeNativeMethods.HitTestThemeBackground( new HandleRef( this, Handle ), hdc, part, state, (int) options, new NativeMethods.
COMRECT
( backgroundRectangle ), NativeMethods.NullHandleRef, point, ref htCode );
991
lastHResult = SafeNativeMethods.HitTestThemeBackground( new HandleRef( this, Handle ), hdc, part, state, (int) options, new NativeMethods.
COMRECT
( backgroundRectangle ), new HandleRef( this, hRgn ), point, ref htCode );
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
258
this.AXInPlaceObject.SetObjectRects(new NativeMethods.
COMRECT
(new Rectangle(0, 0, width, height)), WebBrowserHelper.GetClipRect());
745
new NativeMethods.
COMRECT
(this.Bounds));
winforms\Managed\System\WinForms\WebBrowserHelper.cs (1)
166
return new NativeMethods.
COMRECT
(new Rectangle(0, 0, 32000, 32000));
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (2)
231
this.OnActiveXRectChange(new NativeMethods.
COMRECT
(this.Host.Bounds));
287
this.OnActiveXRectChange(new NativeMethods.
COMRECT
(this.Host.Bounds));