Esempio n. 1
0
        public int OnPosRectChange([In, MarshalAs(UnmanagedType.Struct)] ref tagRECT lprcPosRect)
        {
            lprcPosRect = rectForm;

            return(HRESULT.S_OK);
        }
Esempio n. 2
0
        public int GetWindowContext([MarshalAs(UnmanagedType.Interface), Out] out IOleInPlaceFrame ppFrame, [MarshalAs(UnmanagedType.Interface), Out] out IOleInPlaceUIWindow ppDoc, [In, MarshalAs(UnmanagedType.Struct), Out] ref tagRECT lprcPosRect, [In, MarshalAs(UnmanagedType.Struct), Out] ref tagRECT lprcClipRect, [In, MarshalAs(UnmanagedType.Struct), Out] ref tagOIFI lpFrameInfo)
        {
            ppFrame = null;

            ppDoc        = null;
            lprcPosRect  = rectForm;
            lprcClipRect = rectForm;

            return(HRESULT.S_OK);
        }
Esempio n. 3
0
 public ClientSite(IntPtr handle, int l, int t, int r, int b)
 {
     groupBoxHandle = handle;
     rectForm       = new tagRECT(l, t, r, b);
 }