KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > ole > win32 > IOleInPlaceObject


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.internal.ole.win32;
12
13 import org.eclipse.swt.internal.win32.*;
14
15 public class IOleInPlaceObject extends IOleWindow
16 {
17 public IOleInPlaceObject(int /*long*/ address) {
18     super(address);
19 }
20 public int InPlaceDeactivate() {
21     return COM.VtblCall(5, address);
22 }
23 public int UIDeactivate() {
24     return COM.VtblCall(6, address);
25 }
26 public int SetObjectRects(RECT lprcPosRect, RECT lprcClipRect) {
27     return COM.VtblCall(7, address, lprcPosRect, lprcClipRect);
28 }
29 public int ReactivateAndUndo() {
30     return COM.VtblCall(8, address);
31 }
32 }
33
Popular Tags