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