diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java new file mode 100644 index 0000000000..9171aff39d --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.internal.win32; + +public class NMTOOLBAR extends NMHDR { + public int iItem; +// TBBUTTON tbButton; + /** @field accessor=tbButton.iBitmap */ + public int iBitmap; + /** @field accessor=tbButton.idCommand */ + public int idCommand; + /** @field accessor=tbButton.fsState */ + public byte fsState; + /** @field accessor=tbButton.fsStyle */ + public byte fsStyle; + /** @field accessor=tbButton.dwData */ + public int /*long*/ dwData; + /** @field accessor=tbButton.iString */ + public int /*long*/ iString; + public int cchText; + /** @field cast=(LPTSTR) */ + public int /*long*/ pszText; +// RECT rcButton; + /** @field accessor=rcButton.left,flags=no_wince */ + public int left; + /** @field accessor=rcButton.top,flags=no_wince */ + public int top; + /** @field accessor=rcButton.right,flags=no_wince */ + public int right; + /** @field accessor=rcButton.bottom,flags=no_wince */ + public int bottom; + /* Note in WinCE. The field rcButton is not defined. */ + public static final int sizeof = OS.NMTOOLBAR_sizeof (); +} |