KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 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 IOleInPlaceActiveObject extends IOleWindow
16 {
17 public IOleInPlaceActiveObject(int /*long*/ address) {
18     super(address);
19 }
20 public int TranslateAccelerator(MSG lpmsg) {
21       //lpmsg - Pointer to message that may need translating
22
return COM.VtblCall(5, address, lpmsg);
23 }
24 public void OnFrameWindowActivate(boolean fActivate) {
25     COM.VtblCall(6, getAddress(), fActivate);
26 }
27 public void OnDocWindowActivate(boolean fActivate) {
28     COM.VtblCall(7, getAddress(), fActivate);
29 }
30 public int ResizeBorder(RECT prcBorder, int /*long*/ pUIWindow, boolean fFrameWindow) {
31     return COM.VtblCall(8, address, prcBorder, pUIWindow, fFrameWindow);
32 }
33 }
34
Popular Tags