01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
11:
12: import org.eclipse.swt.internal.win32.*;
13:
14: public class IOleInPlaceObject extends IOleWindow {
15: public IOleInPlaceObject(int /*long*/address) {
16: super (address);
17: }
18:
19: public int InPlaceDeactivate() {
20: return COM.VtblCall(5, address);
21: }
22:
23: public int UIDeactivate() {
24: return COM.VtblCall(6, address);
25: }
26:
27: public int SetObjectRects(RECT lprcPosRect, RECT lprcClipRect) {
28: return COM.VtblCall(7, address, lprcPosRect, lprcClipRect);
29: }
30:
31: public int ReactivateAndUndo() {
32: return COM.VtblCall(8, address);
33: }
34: }
|