public virtual int ResizeBorder(System.Design.NativeMethods.COMRECT rect, System.Design.NativeMethods.IOleInPlaceUIWindow doc, bool fFrameWindow) { return(-2147467263); }
public virtual int ShowUI(int dwID, System.Design.NativeMethods.IOleInPlaceActiveObject activeObject, System.Design.NativeMethods.IOleCommandTarget commandTarget, System.Design.NativeMethods.IOleInPlaceFrame frame, System.Design.NativeMethods.IOleInPlaceUIWindow doc) { return(0); }
public virtual void GetWindowContext(out System.Design.NativeMethods.IOleInPlaceFrame ppFrame, out System.Design.NativeMethods.IOleInPlaceUIWindow ppDoc, System.Design.NativeMethods.COMRECT lprcPosRect, System.Design.NativeMethods.COMRECT lprcClipRect, System.Design.NativeMethods.tagOIFI lpFrameInfo) { ppFrame = this; ppDoc = null; System.Design.NativeMethods.GetClientRect(this.parentControl.Handle, lprcPosRect); System.Design.NativeMethods.GetClientRect(this.parentControl.Handle, lprcClipRect); lpFrameInfo.cb = Marshal.SizeOf(typeof(System.Design.NativeMethods.tagOIFI)); lpFrameInfo.fMDIApp = 0; lpFrameInfo.hwndFrame = this.parentControl.Handle; lpFrameInfo.hAccel = IntPtr.Zero; lpFrameInfo.cAccelEntries = 0; }