Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9171aff39d793b627439ea23f5bf2c71a60417bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 ();
}

Back to the top